Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List
Message
 
À
19/03/2005 13:40:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: List
Versions des environnements
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Divers
Thread ID:
00997611
Message ID:
00997617
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform