H
halpinj
I am trying to use a variable with the FindFirst method in a recordset. I am
trying to find the first instance of a date and I can find it when I manually
enter the date but whenever I try to put a variable in I get an error
message: "The Microsoft Jet Database does not recognise that as a valid field
name or expression"
i.e. rcdMozart.FindFirst "Date = mydate"
The variable has already been defined previously.
I have also tried pointing it to the actual date field but that also comes
up with the same error message.
i.e. rcdMozart.FindFirst "Date = Forms!Party![Wedding Day]"
I am using Access 2003.
trying to find the first instance of a date and I can find it when I manually
enter the date but whenever I try to put a variable in I get an error
message: "The Microsoft Jet Database does not recognise that as a valid field
name or expression"
i.e. rcdMozart.FindFirst "Date = mydate"
The variable has already been defined previously.
I have also tried pointing it to the actual date field but that also comes
up with the same error message.
i.e. rcdMozart.FindFirst "Date = Forms!Party![Wedding Day]"
I am using Access 2003.