Hi,
I have a comboBox for part number and set to LimitToList "Yes".
Following is my NotInList Event Handler. If the part number hasn't registered yet, click Yes, then product registration(PR) form's opened and register part number.
My question is that when the PR form's opened, new part number that was entered from comboBox earlier should be copied to part number field in PR.
Then, I don't need to retype it.
If uMsg() = vbYes Then
DocName = "frmProductReg"
DoCmd.OpenForm DocName, acNormal
DoCmd.GoToRecord acDataForm, DocName, acNewRec
End If
Any help will be appreciated.
I have a comboBox for part number and set to LimitToList "Yes".
Following is my NotInList Event Handler. If the part number hasn't registered yet, click Yes, then product registration(PR) form's opened and register part number.
My question is that when the PR form's opened, new part number that was entered from comboBox earlier should be copied to part number field in PR.
Then, I don't need to retype it.
If uMsg() = vbYes Then
DocName = "frmProductReg"
DoCmd.OpenForm DocName, acNormal
DoCmd.GoToRecord acDataForm, DocName, acNewRec
End If
Any help will be appreciated.