Run time error

M

Mike Flowers

Hello,
I added a text box to a report and referenced it to a
field in the database. When I try to name the field in
the procedure like this:

If [field] = "Yes" Then ...

I get the following error when I try to run the report:

Run-time error '2465';
Microsoft Access can't find the field '|' referred to in
your expression.

Any help would be appreciated
Mike
 
G

Guest

Thanks John, that worked fine. I actually spent about an
hour reading an Access book but couldn't find what I
needed anywhere. Can you recommend a good source for
reading up on procedure code?

Mike
-----Original Message-----
If Me!TextBox = "Yes". . . .


Hello,
I added a text box to a report and referenced it to a
field in the database. When I try to name the field in
the procedure like this:

If [field] = "Yes" Then ...

I get the following error when I try to run the report:

Run-time error '2465';
Microsoft Access can't find the field '|' referred to in
your expression.

Any help would be appreciated
Mike


.
 

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