View Full Version : show data if..?


benc
03-09-2002, 07:55 AM
Hi I want to create a form that if a tick box is ticked then it will show one type of data and if not show the other.

i.e. if an agent is currently being used and the tick box 'show current' is ticked then it will show the data.

There is a field in the table of where the data resides that sais agentcurrent Yes/No. Can anyone help?

Jack Cowley
03-09-2002, 09:47 AM
In the forms On Current event:

If Me.TickBoxName = -1 Then
Me.AgentField.Visible = True
Else
Me.AgentField.Visible = False
End If