Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table field in messagebox
Message
 
 
To
06/09/2004 00:14:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00939643
Message ID:
00939644
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform