Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining View retrieving records
Message
From
24/03/1999 19:15:17
Bob Lucas
The WordWare Agency
Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00201690
Message ID:
00201693
Views:
12
>I have a grid that is being populated by a parameterized view. I need to know if the view retrieved any records or not. My grid will display whether or not there were any requested records from parameterized view. I am trying to hide a command button based on whether my grid was populated or not. The grid is readonly. The user chooses the record from grid and a command button takes the user to another form. However if there are no records in the grid, the command button is hidden. I need to know either if any records came through the view or if the grid was populated from view. How can I determine this? Help much appreciated
>
>Nick

Just use RECCOUNT()

If the value is 0, you have no records.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform