I have a numerical field called region with values ranging between 1 and 10.
I am opening a form based on a parameter query which gets its value from a form. I am using the following expression to pass the info from the form.
Like "*" & [Forms]![frmCriteriaDivPM]![txtRegion] & "*"
It works well except for the fact that when entered '1', it shows all records relating to regions '1' as well as '10'. I am sure this to do with the expression which treats the input as text. Is there any way, one can pass values in numerical form?
Cheers
AK
Note: Using Access 97 - still.
I am opening a form based on a parameter query which gets its value from a form. I am using the following expression to pass the info from the form.
Like "*" & [Forms]![frmCriteriaDivPM]![txtRegion] & "*"
It works well except for the fact that when entered '1', it shows all records relating to regions '1' as well as '10'. I am sure this to do with the expression which treats the input as text. Is there any way, one can pass values in numerical form?
Cheers
AK
Note: Using Access 97 - still.