Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can gldfldstate(-1) return NULL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00683233
Message ID:
00683381
Views:
44
Gregory,

That tip lead me to find out why I had an empty cursor (reccount()=0) that was causing the getfldState(-1) to return a null value.

Thanks,

Kevin

Yes, getfldate(-1) can return null
As far as I can see you get a Null return if you are beyond the last record of a table/cursor
go bottom
skip
?eof() && TRUE
?getfldstate(-1) && Null
Getfldstate() returns info about the record you are on.
eof() means that you are on no record at all and hence its return has no meaning
Kevin Emmrich
www.jkt9000.com
Previous
Reply
Map
View

Click here to load this message in the networking platform