Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One to many form
Message
From
10/09/2005 19:58:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/09/2005 17:00:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01048465
Message ID:
01048485
Views:
22
>I have a one-to-many form consisting of parent and child grids. I have set the Click event to "thisform.refresh" so that when a selection is made in the child table the textboxes on the form refresh. Why is it that the record pointer moves to the top of the grid (the 1st record)? This is not desirable! Thanks.

Richard,
When you use thisform.refresh all members including parent grid are refreshed. Refreshing the parent causes it to relocate first child record.
What I do is to put them in containers and refresh them selectively instead of whole form.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform