Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table field in messagebox
Message
 
 
À
06/09/2004 00:14:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00939643
Message ID:
00939644
Vues:
12
>Dear Sir,
>
>I want to show one field of my table into a messagebox.
>The type of the field is numeric and data is as under
>1
>2
>4
>5
>6
>Could it possible to show this field in a messagebox with comma separation.
>


>Please help me
local lcMessage

lcMessage = ""

select myTable
scan
   lcMessage = m.lcMessage + transform(myField) + ", "
endscan

if right(m.lcMessage,2) = ", "
   lcMessage = substr(m.lcMessage,1,len(m.lcMessage)-2)
endif

=messagebox(m.lcMessage)
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform