Hi
I just upsized my database to sql 2000 and it went well, but my form is not working. My VB code is not working.
Private Sub Form_Open(Cancel As Integer)
Dim MySQL As String
Dim Tmp As Variant
MySQL = "SELECT * FROM customer WHERE False"
Me![Look For ferstname] = Null
Me![Look For lastname] = Null
Me![Look For customerID] = Null
Me![Look For city] = Null
Me![Look For address] = Null
Me![Look For phone] = Null
Me![Find Customers Subform].Form.RecordSource = MySQL
Me![Look For customerID].SetFocus
End Sub
Can some one help me
Thank
Frank
I just upsized my database to sql 2000 and it went well, but my form is not working. My VB code is not working.
Private Sub Form_Open(Cancel As Integer)
Dim MySQL As String
Dim Tmp As Variant
MySQL = "SELECT * FROM customer WHERE False"
Me![Look For ferstname] = Null
Me![Look For lastname] = Null
Me![Look For customerID] = Null
Me![Look For city] = Null
Me![Look For address] = Null
Me![Look For phone] = Null
Me![Find Customers Subform].Form.RecordSource = MySQL
Me![Look For customerID].SetFocus
End Sub
Can some one help me
Thank
Frank