Can't assign value

ListO

Señor Member
Local time
Today, 07:31
Joined
Feb 2, 2000
Messages
167
Greetings

I have a db which includes a table that has several boolean fields. As part of another form, I want to change the value of some of these fields. That form is based on the table directly, and I have simple code that says:

[BooleanField] = True

I get a Run-Time error '2448'
"You can't assign a value to this object...
*The object may be a control on a read-only form.
*The object may be on a form that is open in Design view.
*The value may be too large for this field."

I've carefully checked that none of the above conditions is true. I've tried creating a boolean variable for the procedure and assigning THAT to the value of the field as:
Dim Tempvariable as Boolean

Tempvariable = True
[BooleanField] = Tempvariable

but I received the same errors.

What am I missing?

[This message has been edited by ListO (edited 03-20-2000).]
 
I'm assigning in the ON OPEN module of a form that is attached to the table in which is the field [BooleanField]
 

Users who are viewing this thread

Back
Top Bottom