Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Records on Messagebox
Message
From
26/09/2005 01:50:03
 
 
To
25/09/2005 21:59:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01052903
Message ID:
01052923
Views:
7
>Hi to All
>
> Is't posiible to view the records of a table in a messagebox? if possible how?
>
>TIA,
>Ryan

In addition to what Hilmar said you can use Tab , chr(9), in Messagebox to improve layout. But you will need to experiment a little to achieve consistent results. Spaces will cause the most problem.

e.g.
cMsg= ''
scan
  cMsg= chr(13) + mydb.myfield1 + chr(9) + mydb.myfield2
endscan
messagebox(m.cMsg, 'My Title')
Previous
Reply
Map
View

Click here to load this message in the networking platform