T
Tony
Hi All,
I'm looking for a 'simple' way to concatenate fields from a report's
underlying recordset into an unbound text controls. The data set is an
address, but sometimes I will not have a street address or city. For
example, the data might look like this:
STREET CITY STATE
123 Main New York NY
345 Oak St NY
New York NY
There are two controls on the report, addressLine1 & addressLine2. Using
the above data, the addresses would be displayed like this:
addressLine1: 123 Main
addressLine2: New York, NY
addressLine1: 345 Oak St
addressLine2: NY
addressLine1: New York, NY
addressLine2:
I know I can do this if I bind controls to the street, city, and state
fields, hide them, then code addressLines 1 & 2 to display the data in the
format I want. However, I'd like to avoid putting the bound controls on the
report only to turn around and hide them.
If anyone has any suggestions, I would love to hear them.
Thanks & Ciao,
Tony
I'm looking for a 'simple' way to concatenate fields from a report's
underlying recordset into an unbound text controls. The data set is an
address, but sometimes I will not have a street address or city. For
example, the data might look like this:
STREET CITY STATE
123 Main New York NY
345 Oak St NY
New York NY
There are two controls on the report, addressLine1 & addressLine2. Using
the above data, the addresses would be displayed like this:
addressLine1: 123 Main
addressLine2: New York, NY
addressLine1: 345 Oak St
addressLine2: NY
addressLine1: New York, NY
addressLine2:
I know I can do this if I bind controls to the street, city, and state
fields, hide them, then code addressLines 1 & 2 to display the data in the
format I want. However, I'd like to avoid putting the bound controls on the
report only to turn around and hide them.
If anyone has any suggestions, I would love to hear them.
Thanks & Ciao,
Tony