S
Sammie
I used a string to filter a report successfully when my criteria was
contained in a text field. Now I want to do the same with a number field,
and I am getting the data type mismatch in criteria expression error. Is
there a different chr number that I should use when [REFNO] is a long integer?
Dim stDocName As String
strCriteria = "[REFNO] = " & Chr(34) & Me!RefNo & Chr(34)
DoCmd.OpenReport "RfqReport", acPreview, , strCriteria
Thanks
Sammie
contained in a text field. Now I want to do the same with a number field,
and I am getting the data type mismatch in criteria expression error. Is
there a different chr number that I should use when [REFNO] is a long integer?
Dim stDocName As String
strCriteria = "[REFNO] = " & Chr(34) & Me!RefNo & Chr(34)
DoCmd.OpenReport "RfqReport", acPreview, , strCriteria
Thanks
Sammie