G
Guest
I have a main form that when I enter a Company, the subforms combo box
populates with all the contacts for the selected company. I also have a
button on the subform that allows the user to add a new contact. When the
add form opens I need the new form to automatically enter three items. The
contact id is an auto number so there's no problem there but I non't know how
to automatically enter the Company code from the main form or contact type
which I store in a variable intcontacttype = 1. Please be a simplictic as
possible.
--Access 2003 User, Thanks in advance Bobbye
populates with all the contacts for the selected company. I also have a
button on the subform that allows the user to add a new contact. When the
add form opens I need the new form to automatically enter three items. The
contact id is an auto number so there's no problem there but I non't know how
to automatically enter the Company code from the main form or contact type
which I store in a variable intcontacttype = 1. Please be a simplictic as
possible.
--Access 2003 User, Thanks in advance Bobbye