run-time error 2135

M

mjpereira76

I am trying to use a textbox to show data retrieved from a table after
the user makes a selection from a combobox. I am using the seek
function and everything seems to be working fine. The variable I am
using has the correct data according to the locals window, but I cannot
transfer the data to the textbox. I was using the controI.text
property but I keep getting the run-time error 2135: This property is
read-only and can't be set. Any ideas?

Thanks,
 
P

Priustoric

If you haven't made it work yet..

I believe that the ctl.text is the uncommitted value (meaning it's not
written to the table yet). I think the property you want to use is
ctl.value.

Hope that helps.
 
M

mjpereira76

If you haven't made it work yet..

I believe that the ctl.text is the uncommitted value (meaning it's not
written to the table yet). I think the property you want to use is
ctl.value.

Hope that helps.




- Show quoted text -

I get the same error message with ctl.value. Probably because it is
an unbound textbox. Thanks for the help though, I appreciate it.
 

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