G
Guest
I am having troubles with my DoCmd.OpenForm code in the WhereCondition. I am
getting a Debug Error saying it can't find the name of my form in the where
condition, however I have checked and triple checked and it is spelled right.
Here is my code maybe I am just typing it out slightly wrong. Can anyone
see what is wrong with this code or why it is saying the form doesn't exist
when it does.
DoCmd.OpenForm "frm_DrawingNumSearch", _
acNormal, , Me.lstMachineNumbers.Column(0) _
= [Forms]![frm_DrawingNumSearch]![lstDrawingNumbers.Column(3)]
is it possibly not working because I am opening the form first and then
trying to reference it? I don't know but if some one does please help.
Thanks in advance.
getting a Debug Error saying it can't find the name of my form in the where
condition, however I have checked and triple checked and it is spelled right.
Here is my code maybe I am just typing it out slightly wrong. Can anyone
see what is wrong with this code or why it is saying the form doesn't exist
when it does.
DoCmd.OpenForm "frm_DrawingNumSearch", _
acNormal, , Me.lstMachineNumbers.Column(0) _
= [Forms]![frm_DrawingNumSearch]![lstDrawingNumbers.Column(3)]
is it possibly not working because I am opening the form first and then
trying to reference it? I don't know but if some one does please help.
Thanks in advance.