I don't know if everybody else knows this already, but I just found this out in a book entitled "The Visual FoxPro Report Writer". It says to concatenate fields, instead of using iif()'s, spaces, and +'s just use a comma in between the field names. This will put a space in between the fields and nothing for an empty field. You can also use semicolons to put text on different lines, and it won't make an extra line for a field that is empty. So if you have two address fields, you can put in
and if there's no address2, it won't put an empty line for that field. haven't had much use to try it out myself yet, but it sounds very useful
bdiamond
Code:
address1;address2;city+",",state,zip
bdiamond