Changing and Adding fields to an already constructed Form

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
 
P

Pavel Romashkin

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
 
C

Cindy

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

.
 
T

TC

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
 
P

Pavel Romashkin

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
 

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