Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forcing new record to top of Browse window in Edit mode
Message
De
30/06/1999 13:08:24
 
 
À
30/06/1999 08:17:27
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00235664
Message ID:
00236004
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform