Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Getting a grid to start displaying where you want it to...
This should be simple! No relationships, just a straight flat file.
I have a grid set up on page 3 of a pageframe. The grid is supposed to show, in list form, what we are viewing in detail on page 1. Which it does.
The problem is that I want the first record displayed in the grid to be the current record showing on page 1. In practice it always starts at the first record on the database. How can I force it to start where I want it to? (I've tried placing a "go recnum" in both the page 3 activate event and the grid init event - where recnum is the recno() of the current record on page 1, but with no effect)
Incidentally, I've had no trouble at all getting the reverse effect. i.e., when I quit the grid and go back to page 1, the record displayed in detail is the last one I selected on the grid...
Suggestions?
Harry
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement