Challenge including the double quotes to use Find Method
Hi
I am using Find Method in Access 2007. Since Find method needs the Column name with double Quotes, Current Challenge am facing is including the double quotes along with the column name
The column name being dynamic taken from variable. Else when hardcoding the column string this works fine.
strColumn = "ContactID="
strValue = 33
Want to achive
rs.Find "ContactID=" 33
I have tried
Opt1. strFind=" " " & strColumn & " " " (the output stored in the strFind variable is not as expected)
Opt2. rs.Find " " " & strColumn & " " " & strValue
Thank you
Regards
Knight
|