Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List
Message
 
To
19/03/2005 13:40:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: List
Environment versions
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00997611
Message ID:
00997617
Views:
17
>hi,
>i useto drag the field at mylist directly from mytable,
>i don't have any idea about distinct.
>thanks
>>SELECT DISTINCT billno from yourtable
>>
>>>hi all,
>>>i have a table with field billno evry billno have many items as under
>>>
>>>billno itemno
>>>1         1
>>>1         2
>>>1         3
>>>2         1
>>>2         2
>>>2         3
>>>3         1
>>>3         2
>>>3         3
>>>.         .
>>>.         .
>>>
>>>
>>>i need help to see at mylist billno as 1,2,3,4...just one time
>>>thanks

Mohammed Tore and I said:
You Have Table with rows:
billno itemno
>>>1 1
>>>1 2
>>>1 3
>>>2 1
>>>2 2
>>>2 3
>>>3 1
>>>3 2
>>>3 3

You can write in your code:
SELECT DISTINCT billno FROM YoutTable INTO MyCursor
Select MyCursor
Browse NORMAL
or what you need
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform