Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BOF => Is it a bug?
Message
From
14/01/2005 12:47:09
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
BOF => Is it a bug?
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000
Miscellaneous
Thread ID:
00977273
Message ID:
00977273
Views:
52
Hi all,

With an empty table and this table is child table in a relation, the BOF() return ".F.". Is it a bug?
Try with this cursors:
CREATE CURSOR curTest1 (FieldKey C(10), obs C(20))
INDEX ON FieldKey TAG idxFK
MESSAGEBOX(BOF("curTest1"))  && Return .T.
SELECT 0
CREATE CURSOR curTest2 (FieldKey C(10), obs2 C(20))
SET RELATION TO fieldKey INTO curTest1 IN curTest2
SELECT curTest1
MESSAGEBOX(BOF("curTest1"))  && Return .F.
The same occur in VFP8 and VFP9. I didn't test with previous version.
Bye.
Erick
Força Sempre!
Strength Always!
Next
Reply
Map
View

Click here to load this message in the networking platform