Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How i know if my table have records
Message
From
02/06/1997 10:41:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
28/05/1997 14:41:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00033885
Message ID:
00034494
Views:
38
> function isempty > local lnrecno, lntop,lnBottom > lnRecno=recno() > Go top > lnTop=recno() > go bottom > lnBottom=recno() > on error go top > go lnRecno > on error > return lntop=lnbottom > > HTH. > > Have a happy day > Vladimir Shevchenko Shorter: Go top if recno()>recc() table is empty else it's not endif "Table is empty" means there are records which can be displayed - they are not all deleted, not filtered out etc.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform