chuckcoleman
Registered User.
- Local time
- Today, 08:30
- Joined
- Aug 20, 2010
- Messages
- 363
I generate reports that are used for billing. As a part of that the reports will have the billing persons name, title, address, address2, city_state_ZIP, telephone, cell and email. In the billing persons form that contains that information, the fields used vary by person. By that I mean not everyone has a address2, (Apt B), some people don't have a telephone number but they have a cell, some don't have telephone or cell but they have an email address.
To format this correctly, you want something like:
John Smith
Owner
123 Oak St.
Apt B
Anywhere, City 12345
(XXX) XXX-XXXX
(YYY) YYY-YYYY
johnsmith@whoknowswhere.com
If anyone of the above isn't in the billing persons profile, everything moves up. No spaces between lines. I typically do this with a series of If-Then-Else statements but honestly it becomes a pain in the butt as you move your way down the above lines.
Does anyone have a better way to handle this?
Thanks in advance,
Chuck
To format this correctly, you want something like:
John Smith
Owner
123 Oak St.
Apt B
Anywhere, City 12345
(XXX) XXX-XXXX
(YYY) YYY-YYYY
johnsmith@whoknowswhere.com
If anyone of the above isn't in the billing persons profile, everything moves up. No spaces between lines. I typically do this with a series of If-Then-Else statements but honestly it becomes a pain in the butt as you move your way down the above lines.
Does anyone have a better way to handle this?
Thanks in advance,
Chuck