G
Guest
I have a subform embedded into a main form. Strangely enough, the mainform/
subform functions normally when I run on my machine but when run on another
machine I get a "Run-time error 2467: The expression you entered refers to
an object that is closed or doesn't exist."
But this is simply not true. The object does exist. It is not closed. The
line of code that fails is the following:
If Not Forms!PurchaseOrders!sfmPoSingleLineItem.Form.AllowEdits =
PermissionItemUpdate Then
Forms!PurchaseOrders!sfmPoSingleLineItem.Form.AllowEdits =
PermissionItemUpdate
The form names are correct, PermissionItemUpdate is defined as Boolean with
a valid T/F status based upon the user’s capabilities. I started with a fresh
“shell†and imported everything in new to eliminate, to an extent, any form
corruption issue. Both machines are running Acc 2003 SP2.
Again it runs fine on one and blows on the other!
I am out of ideas. Any suggestions?
subform functions normally when I run on my machine but when run on another
machine I get a "Run-time error 2467: The expression you entered refers to
an object that is closed or doesn't exist."
But this is simply not true. The object does exist. It is not closed. The
line of code that fails is the following:
If Not Forms!PurchaseOrders!sfmPoSingleLineItem.Form.AllowEdits =
PermissionItemUpdate Then
Forms!PurchaseOrders!sfmPoSingleLineItem.Form.AllowEdits =
PermissionItemUpdate
The form names are correct, PermissionItemUpdate is defined as Boolean with
a valid T/F status based upon the user’s capabilities. I started with a fresh
“shell†and imported everything in new to eliminate, to an extent, any form
corruption issue. Both machines are running Acc 2003 SP2.
Again it runs fine on one and blows on the other!
I am out of ideas. Any suggestions?