Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record Pointer
Message
From
11/01/2000 19:13:27
 
 
To
11/01/2000 19:07:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00316526
Message ID:
00316598
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform