M
MTsang987
Hi,
I am getting an error
Run-time error '-2147352567 (80020009)':
You can't assign a value to this object
I have two forms (PO, Prod) with two corresponding forms (POItems,
Prod_List. From the second form, I call a function (SetProduct) of the
subform of the first form:
Forms("PO").POItems.Form.SetProduct Me.Prod_List.Form.ID.Value
SetProduct looks like:
Public Sub SetProduct(strProductID As String)
Me.ProductID = strProductID '''Fails here
Now we notice that this error does not occur on the machines that have mdac
version 2.6 (?) or lower, but it does occur on machines with mdac versions
that are newer.
Any help is appreciated.
I am getting an error
Run-time error '-2147352567 (80020009)':
You can't assign a value to this object
I have two forms (PO, Prod) with two corresponding forms (POItems,
Prod_List. From the second form, I call a function (SetProduct) of the
subform of the first form:
Forms("PO").POItems.Form.SetProduct Me.Prod_List.Form.ID.Value
SetProduct looks like:
Public Sub SetProduct(strProductID As String)
Me.ProductID = strProductID '''Fails here
Now we notice that this error does not occur on the machines that have mdac
version 2.6 (?) or lower, but it does occur on machines with mdac versions
that are newer.
Any help is appreciated.