>Erik,
>
>The code on the command button is:
>Select datarept
>Append Blank
>ThisForm.Refresh
>ThisForm.Unitextb1.Setfocus
>
>Then I type in the data in Unitextb1 and press enter key to cause it to loose focus. At this time I desire to double click the first header in my grid which displays child records. I have code on the double click event as so:
>Select edrsubmi
>Append Blank
>Replace edr_no With ThisForm.Unitextb1.Value
>Replace edr_subno With 1
>
>The trouble is that the record I add is really not in focus until I click on the previous nav button to move the record pointer back one record.
>As I said it seems that after I type in the record data the pointer is past the EOF.
How do you know? If you are at EOF, any controls bound to that table will be disabled. Can you put a test control on the form that shows the current recno() when youclick it?
Erik Moore
Clientelligence