I'm lost. I have a text field named "Status." The first set of code works fine. The second set doesn't. Is it because I'm using "<>" with a text field? If so, what should I use instead? Any help would be appreciated.
Me.SectionClearText = "Contractors"
If IsNull([TimeOut]) Then Me.TimeOut = Format(Time(), "hh:nn")
If Me.CACorIDcard = -1 And Me.Status = "Family Member" Then TimeIDRecd = Me.TimeOut + TimeValue("00:08")
Forms.Item("frmNextCustomerContractors").RecordSource = "qryNextCustomerContractors"
DoCmd.Requery
Forms![frmNextCustomerContractors]![frmNextCustomerContractorsSubForm].SetFocus
Me.SectionClearText = "Contractors"
If IsNull([TimeOut]) Then Me.TimeOut = Format(Time(), "hh:nn")
If Me.CACorIDcard = -1 And Me.Status <> "Family Member" Then TimeIDRecd = Me.TimeOut + TimeValue("00:13")
Forms.Item("frmNextCustomerContractors").RecordSource = "qryNextCustomerContractors"
DoCmd.Requery
Forms![frmNextCustomerContractors]![frmNextCustomerContractorsSubForm].SetFocus
Me.SectionClearText = "Contractors"
If IsNull([TimeOut]) Then Me.TimeOut = Format(Time(), "hh:nn")
If Me.CACorIDcard = -1 And Me.Status = "Family Member" Then TimeIDRecd = Me.TimeOut + TimeValue("00:08")
Forms.Item("frmNextCustomerContractors").RecordSource = "qryNextCustomerContractors"
DoCmd.Requery
Forms![frmNextCustomerContractors]![frmNextCustomerContractorsSubForm].SetFocus
Me.SectionClearText = "Contractors"
If IsNull([TimeOut]) Then Me.TimeOut = Format(Time(), "hh:nn")
If Me.CACorIDcard = -1 And Me.Status <> "Family Member" Then TimeIDRecd = Me.TimeOut + TimeValue("00:13")
Forms.Item("frmNextCustomerContractors").RecordSource = "qryNextCustomerContractors"
DoCmd.Requery
Forms![frmNextCustomerContractors]![frmNextCustomerContractorsSubForm].SetFocus