Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement