Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't make grid show newly added record
Message
 
To
04/08/2007 14:20:55
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01245963
Message ID:
01245967
Views:
15
>I have a grid on a form. I activate another form to allow for adding a new record to the underlying table. After saving the record I issue a form.refresh to update the grid.
>
>My problem is that the record, although there, is not visible in the grid. I have to scroll the grid in order to see it. Once I scroll, it is already highlighted. Is there anyway to have the grid automatically have this new, highlighted record showing without having to scroll? As you can see, users could easily get the impression that their new record was not saved because they don't see it in the grid.
>
>TIA
>Mike

If the new form is modal you could return PK of the new record, then in Parent Form you could SEEK returned value and refresh the grid.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform