Runtime error

N

Nancee

I am trying to assign a text field a value during the
afterupdate event in a Form.

Example:

Private Sub Form_AfterUpdate()

Field1 = "Nancee"

End Sub

When the form closes I get a runtime error that says
"Cannot assign a value to this field" Runtime error
-2147352567 (80020009)

I've done this hundreds of times in Access 97.

Does anyone have any idea what the problem might be?
 

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

Combo error 1
Copy Field to another field in different Table 1
Check Box on form 3
Runtime Error 4
runtime error, application shutdown 1
Runtime error 459 on new fields 2
Runtime Error 6028 0
Checkbox error 4

Top