Article ID: 127028
Article Last Modified on 12/9/2003
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: 4.00 vb4win vb4all
Keywords: KB127028