B
Brook
hello all..
I have an invoice report that I use for both sold invoices and conignment
invoices, and a field on my report called invoicetype (with is either "Sold"
or "Consignment"..
And two labels: "Invoice" - named invoicelable and "Consignment Invoice" -
named consignlabel
I would like the Invoice label to be visible if the invoice type is "Sold"
and the Conignment Invoice Lable to be invisible and visa versa?
I tried the following:
If invoicetype = "Sold" Then
invoicelabel.visible = True
consignlabel.visible = False
Else
invoicelabel.visible = False
consignlabel.visible = True
End if
End IF
I tried to enter this code in the code of the form, but was unsuccessfull
in getting it to work ?
Any ideas?
Thanks,
Brook
I have an invoice report that I use for both sold invoices and conignment
invoices, and a field on my report called invoicetype (with is either "Sold"
or "Consignment"..
And two labels: "Invoice" - named invoicelable and "Consignment Invoice" -
named consignlabel
I would like the Invoice label to be visible if the invoice type is "Sold"
and the Conignment Invoice Lable to be invisible and visa versa?
I tried the following:
If invoicetype = "Sold" Then
invoicelabel.visible = True
consignlabel.visible = False
Else
invoicelabel.visible = False
consignlabel.visible = True
End if
End IF
I tried to enter this code in the code of the form, but was unsuccessfull
in getting it to work ?
Any ideas?
Thanks,
Brook