Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Query: How do i determine if I am on the last row
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid Query: How do i determine if I am on the last row
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01536814
Message ID:
01536814
Vues:
78
I have a form parent-child form with a grid on it for the invoice detail lines. When I am in the last column of the grid I check in the KET PRESS event if the user hit the enter key. If the user hits the enter key I issue the skip command and move the the record pointer to the next record of the detail line for the current header record.

When I am on the last record (invoice line) I want to add a new record the to the grid when the user hits the enter key. How can I determine if I am on the last record for the current invoice so that know if must add a new record. I cant use EOF as the record might not be the actually last record in the table.

Is there away to get around this.

Thanks in advance.

Regards,

Stuart
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform