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