Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EOF() and views
Message
From
04/06/2002 21:09:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
EOF() and views
Miscellaneous
Thread ID:
00664789
Message ID:
00664789
Views:
53
Hi
I got a view in a grid, I'd like to use the allowaddnew propertie of the grid to add new Records into the view, but I can't do that as I add the 'id' to records automatically via A method. So I tried something like this in the keypress event of the form:

IF nKeyCode==24 && down arrow key

SELECT 'view'

IF EOF()

THIS.newRecord()

ENDIF

ENDIF

The problem here is that I never reach the end of file according to eof().So, how I can know if I reach the end of view considering the table buffering And all.

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform