F
Frank Martin
Access2000 / WindowsXP
Can someone help me with some code to compare two text fields.
On my report I have two text fields which sometimes contain identical
strings.
(This is because I have used one table twice in a query, one as an alias.)
I want the code to suppress the printing of the second text field when this
one is the same as the first.
The text fields are:
"CustName"
"AddressName"
and so the code might go like this.....
if
"CustName" = "AddressName"
then
Me.AddressName.Visible = False
end if
Can someone help me with the correct method?
Regards Frank
Can someone help me with some code to compare two text fields.
On my report I have two text fields which sometimes contain identical
strings.
(This is because I have used one table twice in a query, one as an alias.)
I want the code to suppress the printing of the second text field when this
one is the same as the first.
The text fields are:
"CustName"
"AddressName"
and so the code might go like this.....
if
"CustName" = "AddressName"
then
Me.AddressName.Visible = False
end if
Can someone help me with the correct method?
Regards Frank