hardhitter06
Registered User.
- Local time
- Today, 04:51
- Joined
- Dec 21, 2006
- Messages
- 600
Hi,
I'm trying to flood the ContractNo from FormA into the ContractNo for FormB with an onclick command.
My syntax is probably off and was wondering if someone could assit?
SearchFormAFormB is where the number is coming from.
FormBSearch is where I would like the field data to display
Thank you
I'm trying to flood the ContractNo from FormA into the ContractNo for FormB with an onclick command.
My syntax is probably off and was wondering if someone could assit?
Code:
stDocName = "FormBSearch"
DoCmd.OpenForm stDocName, , , stLinkCriteria
[COLOR="Red"]Forms!FormBSearch!Me.ContractNo = Me.FormB.ContractNo[/COLOR]
DoCmd.Close acForm, "SearchFormAFormB"
SearchFormAFormB is where the number is coming from.
FormBSearch is where I would like the field data to display
Thank you