Information générale
Titre:
Trouble in DataRelation
Versions des environnements
Network:
Windows 2003 Server
Database:
Jet/Access Engine
I make a "datarelation" into my two tables. It is working! But my problem was, I want to have a navigation toolbars(movfirst, movnext,.....) wherein the "parenttable" was bind to the textbox and the "childtable" was bind to datagrid. How can I do that..
Part of code that has an error:
txtFirstname.DataBindings.Add("Text", m_oTest.OleDataSet.Relations("sCombine").ParentTable, "Firstname")
txtLastname.DataBindings.Add("Text", m_oTest.OleDataSet.Relations("sCombine").ChildTable, "Lastname")
dgmain.DataSource = m_oTest.OleDataSet.Relations("sCombine").ChildKeyConstraint.RelatedTable <<<<<<<>>>>>>>*****
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