Hi,
I have a database which is used for printing invoices & there's one point I'm finding really annoying.
I have a table setup for customer addresses, with a variety of typical fields (address line 1, line 2, line 3, etc). Not all of them are used every time. For instance, line 2 is for department, but that's often not filled in.
Basically, there are holes in my data! I hate it when I print out the report; the address can be quite fragmented, simply because a minority of records need the extra data. Is there anyway to make the report ignore empty fields & print the address neatly?
I did think of doing it via an unbound text box, which I have used in the past to build sentences out of seperate fields, eg "Hello [User] you last logged in [date] at [time]" on a menu form.
I can't think how to build this into a nice neat block though, rather than a sentence, simply because I can't get my head round the carriage returns! Anyone got any ideas?
I have a database which is used for printing invoices & there's one point I'm finding really annoying.
I have a table setup for customer addresses, with a variety of typical fields (address line 1, line 2, line 3, etc). Not all of them are used every time. For instance, line 2 is for department, but that's often not filled in.
Basically, there are holes in my data! I hate it when I print out the report; the address can be quite fragmented, simply because a minority of records need the extra data. Is there anyway to make the report ignore empty fields & print the address neatly?
I did think of doing it via an unbound text box, which I have used in the past to build sentences out of seperate fields, eg "Hello [User] you last logged in [date] at [time]" on a menu form.
I can't think how to build this into a nice neat block though, rather than a sentence, simply because I can't get my head round the carriage returns! Anyone got any ideas?