Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to select item(s) from a grid?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00540176
Message ID:
00540182
Views:
17
>Hi,
>
>I have a form with a grid showing child records. I have a control button to print out child records - but would like to check for an empty grid, so that the report will print only if there are any records to be printed. Hve tried, but have not found any way in which to test for any empty/not empty status fof the grid.
>
>I find the record pointer for the row source dbf always showing eof.
>
>I would be surprised if this does not have a simple solution...
>
>Rolf

Try reccount() or

If the grid is created from an SQL select you could test _Tally for the number of records returned.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform