Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EOF() and views
Message
De
04/06/2002 21:09:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
EOF() and views
Divers
Thread ID:
00664789
Message ID:
00664789
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform