Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing new record to top of Browse window in Edit mode
Message
From
30/06/1999 13:08:24
 
 
To
30/06/1999 08:17:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00235664
Message ID:
00236004
Views:
23
>As for synchronizing the left and right panes, it's sort of tricky - if at least one and a half field of the new record is visible in the edit pane, it won't refresh, because it thinks the record is already visible. You may try issuing Keyb "{ctrl+h}{ctrl+h}" for a quick switch between the panes (in a Browse Valid function), or a SHOW WINDOW (WONTOP()) REFRESH, or both. Not sure it will work.

Thanks for the KEY hint. I'll try it. As for synchronization I have found that if even if I manually size the window so that the right pane contains exactly one record (or, for experimental purposes, slightly less than one record), VFP still 'thinks' that the following record is within the visible window so it doesn't resync when I select the next record in the left pane.

I'll try your work arounds, though. Maybe they will work.

Actually, I just thought of another idea. Maybe I can create a view with some extra dummy fields that will essentially force the next record outside the bounds of VFP's internal concept of the window boundaries. Hmmm....?
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform