>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)