V
Vicky
Hello,
I'm getting the "object doesn't contain the automation object" error.
I'm trying to run a macro that places a value from a table into a form.
It works with 1 of the 2 tables, but the other one gives this error.
My macro is this:
OpenForm
OpenTable
FindRecord
SetValue (item: [Forms]![Form1]![Accessoires] exp: [Accessoires1])
Close (the table)
SetValue (form to form value setting)
((So far the macro doesn't give any problems))
OpenTable
FindRecord
SetValue (item: [Forms]![Form1]![TotaalPrijs] exp: [Prijs])
And when I run it, it gives the error: "object doesn't contain the
automation object 'Prijs'"
So I'm kinda confused as I don't see the difference between the first
SetValue and the second. Both fields in the exp. are number fields.
If any other information is required, please let me know.
I'm getting the "object doesn't contain the automation object" error.
I'm trying to run a macro that places a value from a table into a form.
It works with 1 of the 2 tables, but the other one gives this error.
My macro is this:
OpenForm
OpenTable
FindRecord
SetValue (item: [Forms]![Form1]![Accessoires] exp: [Accessoires1])
Close (the table)
SetValue (form to form value setting)
((So far the macro doesn't give any problems))
OpenTable
FindRecord
SetValue (item: [Forms]![Form1]![TotaalPrijs] exp: [Prijs])
And when I run it, it gives the error: "object doesn't contain the
automation object 'Prijs'"
So I'm kinda confused as I don't see the difference between the first
SetValue and the second. Both fields in the exp. are number fields.
If any other information is required, please let me know.