NadiaVKhan
Registered User.
- Local time
- Today, 11:05
- Joined
- Mar 8, 2017
- Messages
- 27
Hello.
I have two forms. frmAlpha and frmBeta.
There is a button on frmAlpha that opens frmBeta in a dialogue box. I want this button to ALSO copy the data in field txtFoodNameA in frmAlpha to txtFoodNameB in frmBeta.
What is the code I would use for this?
I imagine it should be something along the lines of
Sub
frmAlpha.txtFoodNameA.value = frmBeta.txtFoodNameB.value
End Sub
I have two forms. frmAlpha and frmBeta.
There is a button on frmAlpha that opens frmBeta in a dialogue box. I want this button to ALSO copy the data in field txtFoodNameA in frmAlpha to txtFoodNameB in frmBeta.
What is the code I would use for this?
I imagine it should be something along the lines of
Sub
frmAlpha.txtFoodNameA.value = frmBeta.txtFoodNameB.value
End Sub