G
Guest
My form is opened in date entry mode to create a new project. A Contact Name
is chosen from tbl_Contact through a combo box that lists all possible
contacts. After selecting the contact I need to display the contact's phone
number. I have done this doing using the DLookup function in the phone
number control.
If the Contact Name is then changed again, an event triggered either OnDirty
or OnChange goes to a maco that will Requery the PhoneNumber control and will
update the phone number to match the Contact's Name.
However, if a Contact name is typed into the Contact Name field rather than
selected from the drop down of the comobo box, the phone number is not
updated even when the typed name is part of the combo box list.
Should the user be able to type in a name rather than select one and have
the phone number update. If so, how?
Any help will be appreciated. Thanks.
is chosen from tbl_Contact through a combo box that lists all possible
contacts. After selecting the contact I need to display the contact's phone
number. I have done this doing using the DLookup function in the phone
number control.
If the Contact Name is then changed again, an event triggered either OnDirty
or OnChange goes to a maco that will Requery the PhoneNumber control and will
update the phone number to match the Contact's Name.
However, if a Contact name is typed into the Contact Name field rather than
selected from the drop down of the comobo box, the phone number is not
updated even when the typed name is part of the combo box list.
Should the user be able to type in a name rather than select one and have
the phone number update. If so, how?
Any help will be appreciated. Thanks.