C
cyberwolf0000 via AccessMonster.com
I have a form (frm_Reprints) with a subform (frm_ReasonCodes_subform). When
I added code to the subforms control "Enter" Event, I get an Error 40036
Application defined or User-Defined Error. It seems to be not recoginzing
the main forms name. The reason I believe this is because when I type out
the code it doesn't capitalize the main forms name like I would expect it to.
I did a debug.print me.form.name and it came back like "frm_Reprints". Below
is the code line causing the error.
If Forms!frm_reprints!frm_ReasonCodes_subform.Form!ReasonID = "Rejected
Preprint" Then
I tripled checked all form names the subform control name and the names of
the controls on the subform and just can't figure this one out.
I have tried many variations on this with no luck.
TIA
--
James B Gaylord
For the Wolf comes the strength of the Pack,
For the Pack comes the strength of the Wolf,
-R. Kipling
Office 2003 on Win XP SP2
I added code to the subforms control "Enter" Event, I get an Error 40036
Application defined or User-Defined Error. It seems to be not recoginzing
the main forms name. The reason I believe this is because when I type out
the code it doesn't capitalize the main forms name like I would expect it to.
I did a debug.print me.form.name and it came back like "frm_Reprints". Below
is the code line causing the error.
If Forms!frm_reprints!frm_ReasonCodes_subform.Form!ReasonID = "Rejected
Preprint" Then
I tripled checked all form names the subform control name and the names of
the controls on the subform and just can't figure this one out.
I have tried many variations on this with no luck.
TIA
--
James B Gaylord
For the Wolf comes the strength of the Pack,
For the Pack comes the strength of the Wolf,
-R. Kipling
Office 2003 on Win XP SP2