Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Records on Messagebox
Message
From
25/09/2005 22:48:49
 
 
To
25/09/2005 22:28:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
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:
01052907
Views:
11
Hi Hilmar,

thanks

Ryan.

>>Hi to All
>>
>> Is't posiible to view the records of a table in a messagebox? if possible how?
>>
>>TIA,
>>Ryan
>
>I don't think there is a specific command for this, but you can create a string that shows the information you are interested in. For example:
>
>
>MyText = ""
>scan
>  MyText = MyText + alltrim(Field1) + space(3)
>endscan
>MessageBox(MyText)
>
>
>Beware - if your table is large, you may have trouble with the MessageBox.
>
>As alternatives to show data, an old-fashioned command is BROWSE NOMODIFY. A more modern approach would be to create a form with a Grid, and make it as generic as possible, so that you can show any specified table. But this may be a little tricky with private datasessions.
Previous
Reply
Map
View

Click here to load this message in the networking platform