greensleeves149
Member
- Local time
- Tomorrow, 06:50
- Joined
- Feb 27, 2022
- Messages
- 49
Hi guys,
I've got a form with two subforms on it. (The form's name is "PrepOrders" in case this info is required)
I'm not sure (even after reading and watching a few demo's) how to correctly refer to one of the subforms control?
I have this code:
where "Allocated Total" is on subform2 and what I'm trying on subform2 is to refer to a control on subform1 called "MaxPackagesAvail". Subform2's name is "frmNetPurchasedInventory".
Could someone please correct what I'm doing wrong?
Thanking you
I've got a form with two subforms on it. (The form's name is "PrepOrders" in case this info is required)
I'm not sure (even after reading and watching a few demo's) how to correctly refer to one of the subforms control?
I have this code:
Code:
If Me.AllocatedTotal > Me!frmNetPurchasedInventory.Form!MaxPackagesAvail Then
where "Allocated Total" is on subform2 and what I'm trying on subform2 is to refer to a control on subform1 called "MaxPackagesAvail". Subform2's name is "frmNetPurchasedInventory".
Could someone please correct what I'm doing wrong?
Thanking you