M
Michael
I have this code on a form so that the user will know
where to enter the correct info:
If [WorkType-State] Like ("Proc MBLs" & "*") Then
Me.lbl_Phone.Caption = "% Obtain Amounts:"
Me.lbl_Online.Caption = "% Key Amounts:"
Me.lbl_Field.Caption = "% Match:"
Me.lbl_Map.Caption = "% Mail:"
Me.lbl_Phone.Visible = True
Me.lbl_Online.Visible = True
Me.lbl_Field.Visible = True
Me.lbl_Map.Visible = True
Me.lbl_Other.Visible = False
Me.lblTotal_.Visible = False
Me.Ctl_CompletedByPhone.Visible = True
Me.Ctl_CompletedByOnlineTool.Visible = True
Me.Ctl_CompletedByField_Search.Visible = True
Me.Ctl_CompletedByMap_Listing.Visible = True
Me.Ctl_CompletedByOther.Visible = False
Me.Total_.Visible = False
ElseIf [WorkType-State] Like ("Proc Exceptions"
& "*") Then
Me.lbl_Phone.Caption = "% Obtain Amounts:"
Me.lbl_Online.Caption = "% Key Amounts:"
Me.lbl_Field.Caption = "% Match:"
Me.lbl_Map.Caption = "% Mail:"
Me.lbl_Phone.Visible = True
Me.lbl_Online.Visible = True
Me.lbl_Field.Visible = True
Me.lbl_Map.Visible = True
Me.lbl_Other.Visible = False
Me.lblTotal_.Visible = False
Me.Ctl_CompletedByPhone.Visible = True
Me.Ctl_CompletedByOnlineTool.Visible = True
Me.Ctl_CompletedByField_Search.Visible = True
Me.Ctl_CompletedByMap_Listing.Visible = True
Me.Ctl_CompletedByOther.Visible = False
Me.Total_.Visible = False
Me.Box6.Visible = False
Me.Box5.Visible = False
Me.Box4.Visible = True
Me.Box3.Visible = False
Me.Box2.Visible = False
Me.Box1.Visible = False
Me.BoxOther.Visible = False
Plus a few more work types just like it. Is there a way
that I can minic this on a report? I just want the names
of the rows to change depending on the work type. Thanks!
Mike
where to enter the correct info:
If [WorkType-State] Like ("Proc MBLs" & "*") Then
Me.lbl_Phone.Caption = "% Obtain Amounts:"
Me.lbl_Online.Caption = "% Key Amounts:"
Me.lbl_Field.Caption = "% Match:"
Me.lbl_Map.Caption = "% Mail:"
Me.lbl_Phone.Visible = True
Me.lbl_Online.Visible = True
Me.lbl_Field.Visible = True
Me.lbl_Map.Visible = True
Me.lbl_Other.Visible = False
Me.lblTotal_.Visible = False
Me.Ctl_CompletedByPhone.Visible = True
Me.Ctl_CompletedByOnlineTool.Visible = True
Me.Ctl_CompletedByField_Search.Visible = True
Me.Ctl_CompletedByMap_Listing.Visible = True
Me.Ctl_CompletedByOther.Visible = False
Me.Total_.Visible = False
ElseIf [WorkType-State] Like ("Proc Exceptions"
& "*") Then
Me.lbl_Phone.Caption = "% Obtain Amounts:"
Me.lbl_Online.Caption = "% Key Amounts:"
Me.lbl_Field.Caption = "% Match:"
Me.lbl_Map.Caption = "% Mail:"
Me.lbl_Phone.Visible = True
Me.lbl_Online.Visible = True
Me.lbl_Field.Visible = True
Me.lbl_Map.Visible = True
Me.lbl_Other.Visible = False
Me.lblTotal_.Visible = False
Me.Ctl_CompletedByPhone.Visible = True
Me.Ctl_CompletedByOnlineTool.Visible = True
Me.Ctl_CompletedByField_Search.Visible = True
Me.Ctl_CompletedByMap_Listing.Visible = True
Me.Ctl_CompletedByOther.Visible = False
Me.Total_.Visible = False
Me.Box6.Visible = False
Me.Box5.Visible = False
Me.Box4.Visible = True
Me.Box3.Visible = False
Me.Box2.Visible = False
Me.Box1.Visible = False
Me.BoxOther.Visible = False
Plus a few more work types just like it. Is there a way
that I can minic this on a report? I just want the names
of the rows to change depending on the work type. Thanks!
Mike