populating data into a combobox using dlookup

G

Guest

Hi,
When I try to copy data into an unbound combobox using dlookup, i got the
following error:
run-time error '2115'
The macro or function set to the BeforeUpdate or ValidationRule property
for this field is preventing Microsoft Access from saving the data in the
field.

I have not validation rule set up on the combobox. However, I have the
row source set to a query which brings down the vendor names.


Thanks,
 
G

Graham R Seach

G

Guest

Graham,
Thanks for your response. I got that to work now, i need to use
controlname.VALUE instead of .text

Jeff
 

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

Similar Threads

Run-Time Error 2115 2
Can't Set Focus after remoing text from field 3
validation rule error 4
BeforUpdate Code 4
error 2115 1
2115 1
Getting Error from Code 4
data type mismatch - DLookup 1

Top