Hello all,
Yes, another newbie...HELP please.
I have a problem compiling a procedure on a form. The 'search customer' form was built on a query. The proc is attached to command button which opens up another form (Orders). At first I got the error 2450 (can't find form). After trying to compile (or recompile and save), it began recognizing the form,,,, then it started giving me 2465, can't find the fields.So after reading some other similar forums, I changed the field names to the actual field names on the forms (both) because prior, I had the field names (i.e., [fullname] and [fullcustname]) as the REAl field names as listed in the tables(query) which were [CustomerName] and [CustomerName]......
Now it's gone back to 2450, can't find the table...Does anyone have a suggestion? Both forms are built on a separate query...Is that the problem?
thanks in advance
Rosie
Private Sub beginanorder_Click()
'The event to open the Order form with some controls filled in
Forms![Add an Order and Details]![thefullname].Value = Forms![Search Customer Record]![fullcustname]
Forms![Add an Order and Details]![TheCompany].Value = Forms![Search Customer Record]![acompanyname]
Forms![Add an Order and Details]![acustid].Value = Forms![Search Customer Record]![accountnum]
DoCmd.Close acForm, "Search Customer Record", acSaveNo
End Sub