G
Guest
In a form I have a table field that I want to set programatically from the
Current event depending on the state of a button that I use as a toggle. The
code line goes like this:
If <bla..bla> Then
Me.approved.Value = 1
Else
Me.approved.Value = 0
End If
The 'approved' field is of datatype 'bit'. This starts some funny behavor in
Access (2003). Either I get an error message telling that the value I try to
enter is of wrong lenght/value or the field is not updated at all.
Can anyone give me some advice on this?
/Leif S.
Current event depending on the state of a button that I use as a toggle. The
code line goes like this:
If <bla..bla> Then
Me.approved.Value = 1
Else
Me.approved.Value = 0
End If
The 'approved' field is of datatype 'bit'. This starts some funny behavor in
Access (2003). Either I get an error message telling that the value I try to
enter is of wrong lenght/value or the field is not updated at all.
Can anyone give me some advice on this?
/Leif S.