General information
Category:
.NET Compact Framework
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only