G
Guest
The objective is to load the field “ExtPrice1†after Qty1 is entered (in one
table) using the UnitPrice from the Parts table. I thought a very simple
process, but...
If AfterUpdate(Qty1) is, “=[ExtPrice1]=Forms!Parts!UnitPrice*[Qty1]â€, then I
get this error: Test can't find the form "Parts" referred to in a macro
expression or Visual Basic code.
If AfterUpdate(Qty1) is “=[ExtPrice1]=Parts!UnitPrice*[Qty1]â€, then I get
this error: The object doesn't contain the Automation object "Parts".
Now, if I open the Form “Parts†manually, I do not get an error, but the
calculation (Qty1*Parts!UnitPrice) does not work.
So now I change my design and simply decide to plug this calculation into
the Control Source for ExtPrice1. I get this when I use,
“=[Qty1]*Forms!Parts!UnitPriceâ€: #Error in the ExtPrice1 field.
If I translate to the Parts table for UnitPrice
(=[Qty1]*[Parts]![UnitPrice]), I get this: #Name? in the ExtPrice1 field.
I'M GOING CRAZY. I have never had so much trouble like this before. I have
spent hours and hours trying to work my way out of this using every trick and
troubleshooting method I know. I'm not a VBA expert, so maybe this is the
problem.
Can anyone please help me out? I'm already a week late on this...MDM
table) using the UnitPrice from the Parts table. I thought a very simple
process, but...
If AfterUpdate(Qty1) is, “=[ExtPrice1]=Forms!Parts!UnitPrice*[Qty1]â€, then I
get this error: Test can't find the form "Parts" referred to in a macro
expression or Visual Basic code.
If AfterUpdate(Qty1) is “=[ExtPrice1]=Parts!UnitPrice*[Qty1]â€, then I get
this error: The object doesn't contain the Automation object "Parts".
Now, if I open the Form “Parts†manually, I do not get an error, but the
calculation (Qty1*Parts!UnitPrice) does not work.
So now I change my design and simply decide to plug this calculation into
the Control Source for ExtPrice1. I get this when I use,
“=[Qty1]*Forms!Parts!UnitPriceâ€: #Error in the ExtPrice1 field.
If I translate to the Parts table for UnitPrice
(=[Qty1]*[Parts]![UnitPrice]), I get this: #Name? in the ExtPrice1 field.
I'M GOING CRAZY. I have never had so much trouble like this before. I have
spent hours and hours trying to work my way out of this using every trick and
troubleshooting method I know. I'm not a VBA expert, so maybe this is the
problem.
Can anyone please help me out? I'm already a week late on this...MDM