Logical Field ?

M

Mike J

In VBA I am trying to set a YES/NO fiel to Yes or true.

rstMyTable!Field = True doesn't work.

How do I set it to true?

Mike
 
V

Van T. Dinh

I assume "Field" means the Field Name of the Field you want to set the value
for the current Record of the Recordset.

* Have you checked and make sure the Recordset is updateable?

* Do you have rstMyTable.Update after the posted statement?
 

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