G
Guest
Ok, here it is Steve. I can replace TransType with Me. TransType, but that
didn't solve the problem.
TransType combobox:
Row Source Type: Value List
Row Source: "Entry";"Export";"Refund";"Amend";"Other"
Private Sub Form_Current()
Form.Refresh
If Me.TransType = "Export" Or Me.TransType = "Amend" Or Me.TransType =
"Refund" Then
ShipDate.Visible = False
DutyCharge.Visible = False
Check63.Visible = False
Check65.Visible = False
Me!subTariffs.Visible = False
Me!subInvoices.Visible = False
Me!subAmendments.Visible = False
Me!Text26.Visible = False
Me!Text33.Visible = False
Me!Text35.Visible = False
Me!Label38.Visible = False
Else
ShipDate.Visible = True
DutyCharge.Visible = True
Check63.Visible = True
Check65.Visible = True
Me!subTariffs.Visible = True
Me!subInvoices.Visible = True
Me!subAmendments.Visible = True
Me!Text26.Visible = True
Me!Text33.Visible = True
Me!Text35.Visible = True
Me!Label38.Visible = True
End If
Form.Refresh
End Sub
didn't solve the problem.
TransType combobox:
Row Source Type: Value List
Row Source: "Entry";"Export";"Refund";"Amend";"Other"
Private Sub Form_Current()
Form.Refresh
If Me.TransType = "Export" Or Me.TransType = "Amend" Or Me.TransType =
"Refund" Then
ShipDate.Visible = False
DutyCharge.Visible = False
Check63.Visible = False
Check65.Visible = False
Me!subTariffs.Visible = False
Me!subInvoices.Visible = False
Me!subAmendments.Visible = False
Me!Text26.Visible = False
Me!Text33.Visible = False
Me!Text35.Visible = False
Me!Label38.Visible = False
Else
ShipDate.Visible = True
DutyCharge.Visible = True
Check63.Visible = True
Check65.Visible = True
Me!subTariffs.Visible = True
Me!subInvoices.Visible = True
Me!subAmendments.Visible = True
Me!Text26.Visible = True
Me!Text33.Visible = True
Me!Text35.Visible = True
Me!Label38.Visible = True
End If
Form.Refresh
End Sub