G
Guest
I have a main form with a field ContractNo and a Subform also with
ContractNo, these fields are the one that link them together.
My dilemma is, if No.1 (for example) is entered into the main form as
contract number, the subform does not automatically pick No.1 up, so it has
to be typed in as well.
What I would like to do therefore is, once No.1 is entered in the subforms
ContractNo field, the AfterUpdate would check the main forms ContractNo and
if they match allow the user to continue inputting information into the
subform. If they do not match, it would inform the user that the contract
numbers do not match and they should re-enter the ContractNo.
Any examples of code would be appreciated.
thank you
ContractNo, these fields are the one that link them together.
My dilemma is, if No.1 (for example) is entered into the main form as
contract number, the subform does not automatically pick No.1 up, so it has
to be typed in as well.
What I would like to do therefore is, once No.1 is entered in the subforms
ContractNo field, the AfterUpdate would check the main forms ContractNo and
if they match allow the user to continue inputting information into the
subform. If they do not match, it would inform the user that the contract
numbers do not match and they should re-enter the ContractNo.
Any examples of code would be appreciated.
thank you