sportsguy
Finance wiz, Access hack
- Local time
- Today, 03:42
- Joined
- Dec 28, 2004
- Messages
- 363
I have a subform and one of the input controls has a combo box to select the correct quota level, based upon the sale_com_plan. The control is on the subform, and is populated. . .
SELECT QUOTAS.JC_Bookings FROM QUOTAS WHERE (((QUOTAS.Comp_Plan_Code)=Forms!sfrmESSR.NY_SALESPLAN) And ((QUOTAS.Bonus_Elmt_Code)="NETBOOK"));
when I enter the combo box, the form run time prompt pops up asking for Forms!sfrmESSR.NY_SALESPLAN which is on the form and populated. .
When I open the subform directly, the cbox operates correctly, when i open the form, and the form opens the subform, then it doesn't work ,, ,
what am i missing?
thanks
sportsguy
SELECT QUOTAS.JC_Bookings FROM QUOTAS WHERE (((QUOTAS.Comp_Plan_Code)=Forms!sfrmESSR.NY_SALESPLAN) And ((QUOTAS.Bonus_Elmt_Code)="NETBOOK"));
when I enter the combo box, the form run time prompt pops up asking for Forms!sfrmESSR.NY_SALESPLAN which is on the form and populated. .
When I open the subform directly, the cbox operates correctly, when i open the form, and the form opens the subform, then it doesn't work ,, ,
what am i missing?
thanks
sportsguy