OK i think i'm nearly there...
this is my code:
Private Sub Command1_Click()
Dim db As Database
Dim rs As Recordset
Dim fld As Field
Set db = DBEngine.OpenDatabase("h:\cruisetools.mdb"
Set rs = db.OpenRecordset("Product List Search by Product Code"
End Sub
I'm getting a runtime error. Too few parameters. Expected 1.
Can anyone tell me why this is happening? Apparently it's something to do with the SET RS=..... line of code.
PLEASE HELP... IT'S HURTING MY HEAD!
this is my code:
Private Sub Command1_Click()
Dim db As Database
Dim rs As Recordset
Dim fld As Field
Set db = DBEngine.OpenDatabase("h:\cruisetools.mdb"
Set rs = db.OpenRecordset("Product List Search by Product Code"
End Sub
I'm getting a runtime error. Too few parameters. Expected 1.
Can anyone tell me why this is happening? Apparently it's something to do with the SET RS=..... line of code.
PLEASE HELP... IT'S HURTING MY HEAD!