Changing and Adding fields to an already constructed Form

  • Thread starter Thread starter Cindy
  • Start date Start date
C

Cindy

Hello,

I need help. When I changed a field from a text box to a
combo box and added another combo box for another field
and click the Command button to create, an error
438 "Object doesn't support this property or method" pops
up. I'm at my wits end. Can someone please help?

Thanks,
Cindy
 
I am guessing that your form uses an event procedure that contains a
reference to the field on the form that used to be a text box, and now
it is a combo box. Some property of a text box is not present in
ComboBox. You can turn on the debugger and tell it to debug on all
errors, so it will stop execution on the line making the offending call.

Pavel
 
Pavel,

How do I do that?

Thanks,
Cindy
-----Original Message-----
I am guessing that your form uses an event procedure that contains a
reference to the field on the form that used to be a text box, and now
it is a combo box. Some property of a text box is not present in
ComboBox. You can turn on the debugger and tell it to debug on all
errors, so it will stop execution on the line making the offending call.

Pavel

.
 
Cindy, please do not post the same question 3 times within 30 minutes under
different subject lines. Someone will take the time to answer one of those
questions. Then later, they will see that some-one else has already answered
one of the others. So the person has now just wasted their time. This will
not enourage them to help again in future.

Cheers,
TC
 
Press Alt-F11, go to Tools -> Options, choose Break on all errors. I get
a feeling the code is short, so you may be able to simply compile it and
see a compile error (Debug -> Compile).

Good luck,
Pavel
 
Back
Top