Hi,
I have a table(called MedicalPlans) with two fields, enrollment and premium. In the form(called BenefitsInfo) when one of the drop down values for enrollment is selected, the value for premium needs to be filled. I created a combo box for the premium field and used the following select statement which doesn't work:
SELECT MedicalPlans.[Premium] FROM MedicalPlans WHERE ((([MedicalPlans].[Enrollment])=[Forms]![BenefitsInfo]![Enrollment]));
Also do I need to put code behind the form?
Thanks
I have a table(called MedicalPlans) with two fields, enrollment and premium. In the form(called BenefitsInfo) when one of the drop down values for enrollment is selected, the value for premium needs to be filled. I created a combo box for the premium field and used the following select statement which doesn't work:
SELECT MedicalPlans.[Premium] FROM MedicalPlans WHERE ((([MedicalPlans].[Enrollment])=[Forms]![BenefitsInfo]![Enrollment]));
Also do I need to put code behind the form?
Thanks