loneranger27
Programmer
Hi,
I have a form where we enter information about a car.
and the user selects the type of car from a combo box.
What I want to do is that if the combo says dodge truck then the truck form opens if it says dodge car then the car form opens and so on.
I tried if then statements and did not have goodluck
if [combo22] = "dodge truck" then docmd.Openform ("truck"
the form opens and I get an error that access cannot find the field forms referred to in the expression. The truck form is a linked form.
Any help would be appreciated.
Thanks
I have a form where we enter information about a car.
and the user selects the type of car from a combo box.
What I want to do is that if the combo says dodge truck then the truck form opens if it says dodge car then the car form opens and so on.
I tried if then statements and did not have goodluck
if [combo22] = "dodge truck" then docmd.Openform ("truck"
the form opens and I get an error that access cannot find the field forms referred to in the expression. The truck form is a linked form.
Any help would be appreciated.
Thanks