Article ID: 171318
Article Last Modified on 6/29/2004
Control Property Value -------------------------------------- Data1 DatabaseName BIBLIO.MDB Data1 RecordSource Titles Text1 DataSource Data1 Text1 DataField Title Text2 DataSource Data1 Text2 DataField Year Published
Sub Form1_Load()
Data1.Refresh ' Data control must be refreshed before
' showing form2.
Form2.Show ' Load second form that refers to data control
' on this form.
End Sub
Control Property Value ---------------------------------- Text1 DataSource Data1 Text2 DataSource Data1
Sub Form_Load ()
Text1.DataField = "Subject" ' Assign the bound field values.
Text2.DataField = "Comments"
Set Data1.Recordset = Form1.Data1.Recordset ' This is the key.
End Sub
Additional query words: kbVBp500 kbVBp600 kbdse kbDSupport kbVBp kbVBp400 kbCtrl
Keywords: kbhowto KB171318