graviz
Registered User.
- Local time
- Today, 06:49
- Joined
- Aug 4, 2009
- Messages
- 167
I have a table called "TBL_EMAIL" with two columns (State & ROM_Email)
I have a combobox called "CBO_Prop_State" on a form called FRM_Request_Main.
Here's my code:
Dim TestThis As String
TestThis = DCount("[ROM_Email]", "[TBL_EMAIL]", "[State]= " & Forms!frm_request_main!CBO_Prop_State & "")
MsgBox TestThis
I keep getting RTE 2001 "You canceled the previous operation". I've search other threads and none of the solutions are working. Any ideas?
I have a combobox called "CBO_Prop_State" on a form called FRM_Request_Main.
Here's my code:
Dim TestThis As String
TestThis = DCount("[ROM_Email]", "[TBL_EMAIL]", "[State]= " & Forms!frm_request_main!CBO_Prop_State & "")
MsgBox TestThis
I keep getting RTE 2001 "You canceled the previous operation". I've search other threads and none of the solutions are working. Any ideas?