Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RECNO() returns 1 for no records
Message
From
03/05/2004 11:12:02
 
 
To
03/05/2004 11:07:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00900340
Message ID:
00900409
Views:
15
Yes I know <s> But it all adds to the beauty of the Fox hey?

>
>... But even so, it doesnt make any sense to me. ...
>

>
>A VFP logic sense exist for this rule:
>
>- EOF() condition is equal to the (RECNO()>RECCOUNT()) condition
>- when you are into a EOF() condition, the record is a hidden record
>* next code run without errors
>CREATE CURSOR AAA ( BBB I )
>REPLACE BBB WITH 100
>? BBB,RECNO(),EOF()
>
>
>But:
>
>BOF() condition it have not a correlation with RECNO() ( a RECNO() = 0 is a candidate )
>CREATE CURSOR AAA ( BBB I )
>APPEND BLANK
>SKIP -1
>? BOF()
>REPLACE BBB WITH 100 && this reset the BOF() without move the recno pointer
>? BBB,RECNO(),BOF()
>
>
>but a VFP Logic sense exist for BOF(),
>
>EOF() is a stable condition
>BOF() is a metastable condition
>
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform