Run-Time Error -2147417848(80010108)

M

M Price

Hello,

we have a cleint adp written in A9 running under A10 that suddenly started
throwing run-time error -2147417848(80010108) when attempting to set the
..value property of a textbox on another open form. This code has been
working fine until now.


the code:
-------------------------------------------------------------------------

If Rspns = vbOK Then
Forms!frm_edit_inv.txtbox_id_chem.value = int_idc
End If
-------------------------------------------------------------------------

.....used to work, as did the more elaborate,
-------------------------------------------------------------------------

Dim oFrmEditInv As Form
Set oFrmEditInv = Forms![frm_edit_inv]
If Rspns = vbOK Then

With oFrmEditInv
.txtbox_id_chem.Value = int_idc
End With
End If
-------------------------------------------------------------------------

Now both are throwing the same error: Method 'Value' of object '_Textbox'
failed.
Value is a property, not a method...strange.
There are two textbox classes referenced in the adp project. One is
MSForms.Textbox (FM20.dll) and the other is Access.Textbox (MSACC.OLB).
Both have the property Value as variant as a default member.
I thought about removing the Microsoft Forms 2.0 Object Library from the
project, but apparantly cannot since some of the textboxes belong to it..

ugh.
how could I enumerate the adp textbox collections seperately to see which
objects are members of which classes? Maybe it doesn't matter. any thoughts?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top