Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display all usernames from cursor into a message box
Message
De
30/05/2003 16:41:17
 
 
À
30/05/2003 16:31:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00794749
Message ID:
00794760
Vues:
12
try this:
DisplStr = ""
scan where user.logged = 1
   iif(empty(allt(DisplStr)), allt(user.username), DisplStr + chr(13) + allt(user.username))
endscan
if !empty(allt(DisplStr))
   messagebox(DisplStr)
else
   messagebox("No User")
endif
hope this helps.

>Could you please tell me how i can show all the usernames from the cursor into a message box with a comma delimit.
>
>**********
>select username from user where logged = 1 into cursor userlist
>
>
>=messagebox(userlist)
>
>**********
>
>Thank you very much.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform