Hi Diane
two possible ways I can think of:
A. Make the control (text box? - assume it's called TheTextBox) where
the user enters Y or N unbound - i.e. set its Controlsource to blank.
Then in the form's Before_Update event procedure, convert the text box
value and save it to the field the text box used to be bound to (let's
call it Field1):
If Me.THeTxtBox="Y" Then
Me!Field1=1
ElseIf Me.TheTextBox="N" Then
Me!Field1=2
Else
'Allow a blank? If not, put a MsgBOx here and set Cancel to True to
cancel the save
End If
B. Use a multi-column combo box. Make it have 2 columns, make column
1 the bound column, and set the Rowsource to
1;Y;2;N, so that you end up with a list like this:
1 Y
2 N
If you set the ColumnWidths so that column 1 has a width of zero (i.e.
set it to 0;[some width]), the user will be able to type Y or N in the
combo, but the combo's actual _value_ will be the hidden value in
column 1 - this will get saved to the table.
cheers
Seb