G Guest Aug 8, 2006 #1 I am trying to force a status field of yes or no, to show no when an end date in input into the relevant field
I am trying to force a status field of yes or no, to show no when an end date in input into the relevant field
J Joseph Meehan Aug 8, 2006 #2 jfaz said: I am trying to force a status field of yes or no, to show no when an end date in input into the relevant field Click to expand... -1 = Yes 0 = No.
jfaz said: I am trying to force a status field of yes or no, to show no when an end date in input into the relevant field Click to expand... -1 = Yes 0 = No.
S SusanV Aug 8, 2006 #4 In the control where you are entering the date, use the After Update event: If Nz(me.YourDateField,"") = "" Then Me.YourYesNoField = 0 Else Me.YourYesNoField = -1 End If
In the control where you are entering the date, use the After Update event: If Nz(me.YourDateField,"") = "" Then Me.YourYesNoField = 0 Else Me.YourYesNoField = -1 End If
G gumby Aug 8, 2006 #5 Create a Macro Action = SetValue Item = [Forms]![Table1]![Ok] ''''''Otherwise '[Forms]![YOUR FORM NAME]![YOUR FIELD NAME(RELEVANT FIELD)] Expression = Yes Save your macro with a name. Assign that macro to your afterupdate property for your relevant field.
Create a Macro Action = SetValue Item = [Forms]![Table1]![Ok] ''''''Otherwise '[Forms]![YOUR FORM NAME]![YOUR FIELD NAME(RELEVANT FIELD)] Expression = Yes Save your macro with a name. Assign that macro to your afterupdate property for your relevant field.