Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement