Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to select item(s) from a grid?
Message
De
06/08/2001 11:36:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/08/2001 11:35:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00540176
Message ID:
00540200
Vues:
22
>>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
>
>reccount(grid.recordsource)
>Cetin

Or :
select (grid.recordsource)
locate
return !eof()
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform