Information générale
Catégorie:
.NET Compact Framework
Titre:
Equivalent of VFP SEEK?
Hi all,
scenario: a classic form with parent/childs representation where childs are shown on a grid. When the user click on a button, then a second form will open. The second form query the db, extract all the childs for the parent row (passed from the first form), and let user change data for the childs. All this works...
Now I want that the second form will automatically show fields for the selected child in the grid in the first form. I'm able to pass parameters (the primary keys) between forms, but how can I "to position" (and show) the right record in the second form?
In VFP terms, I only need to seek the right record in the second form, I'm looking in the ADO OM but I don't find a way to do this.
I'm using a CurrencyManager to manage the record navigation, but I don't find a way to tell the CurrencyManager: "Hey you, position on this primary key!!"
Any help apreciated!
Franco
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