R
Renee Moffett
Can someone help me find my mistake? The following code keeps prompting me
for
Forms]![frmZipToHomeChoices]![Form]![sbfrmMariesZipToHomeBookChoices]![direc
tory no]. I've verified the form and control names are accurate. I must
have something in the wrong order? I know "Forms" is for main forms and
"Form" is for subforms, but I'm stumped on why it dislikes this.
THANKS!
SELECT qryMariesZipToHomeBookChoices.[zip code],
qryMariesZipToHomeBookChoices.[directory no],
qryMariesZipToHomeBookChoices.MakeHome
FROM qryMariesZipToHomeBookChoices
WHERE (((qryMariesZipToHomeBookChoices.[zip
code])=[Forms]![frmZipToHomeChoices]![zip code]) AND
((qryMariesZipToHomeBookChoices.[directory
no])=[Forms]![frmZipToHomeChoices]![Form]![sbfrmMariesZipToHomeBookChoices]!
[directory no]) AND ((qryMariesZipToHomeBookChoices.MakeHome)=-1));
for
Forms]![frmZipToHomeChoices]![Form]![sbfrmMariesZipToHomeBookChoices]![direc
tory no]. I've verified the form and control names are accurate. I must
have something in the wrong order? I know "Forms" is for main forms and
"Form" is for subforms, but I'm stumped on why it dislikes this.
THANKS!
SELECT qryMariesZipToHomeBookChoices.[zip code],
qryMariesZipToHomeBookChoices.[directory no],
qryMariesZipToHomeBookChoices.MakeHome
FROM qryMariesZipToHomeBookChoices
WHERE (((qryMariesZipToHomeBookChoices.[zip
code])=[Forms]![frmZipToHomeChoices]![zip code]) AND
((qryMariesZipToHomeBookChoices.[directory
no])=[Forms]![frmZipToHomeChoices]![Form]![sbfrmMariesZipToHomeBookChoices]!
[directory no]) AND ((qryMariesZipToHomeBookChoices.MakeHome)=-1));