I have a txtbox with the control source as the following:
=DCount("location","domainfacts","location = '" & [me].[ccfind] & "'")
This is so that a user can select a country from the combobox "ccfind" and then the amount of times that country appears in the field location will be displayed in the txtbox.
I get !value with the above code.
If I use the code:
=DCount("location","domainfacts","location = '[me].[ccfind]'")
I get no error, and just the value "0"
Can someone point me in the right direction...
BrainDead... "The feeling you get after staring at your computer all day"
=DCount("location","domainfacts","location = '" & [me].[ccfind] & "'")
This is so that a user can select a country from the combobox "ccfind" and then the amount of times that country appears in the field location will be displayed in the txtbox.
I get !value with the above code.
If I use the code:
=DCount("location","domainfacts","location = '[me].[ccfind]'")
I get no error, and just the value "0"
Can someone point me in the right direction...
BrainDead... "The feeling you get after staring at your computer all day"