Firstly, hi to all - just joined!
I'm attempting to create a fairly simple database to manage quotations sent out to enquirers.
I'm still new to Access and am having problems.
I have fields such as [Title] [FirstName] [LastName] [CompanyName] [Address1] [Address2] [County] [PostTown] [Postcode]...and so on.
I want to produce a quote letter using a REPORT but I have no idea how to handle the text. I want the report to create a neat address box that does not leave blank lines where there is a NULL value. If I try to group all of the fields I get a mess such as below...
Mr Fred Bloggs,
32 Nowhere Street, , Small Town,
, TG1 3DW
I tried to put [Address1] & ", " & [Address2] ... but if [Address2] is NULL then I get unwanted spaces and commas.
I just don't understand IF or is it IIF?! I could handle this with old fashioned 8-bit BASICs using various string handlers but not with Access!
If there's a simple answer or site that can help, I'd appreciate any info otherwise I'll have to look for a good book - again any advice is appreciated!
Thanks in advance
Davcom1
I'm attempting to create a fairly simple database to manage quotations sent out to enquirers.
I'm still new to Access and am having problems.
I have fields such as [Title] [FirstName] [LastName] [CompanyName] [Address1] [Address2] [County] [PostTown] [Postcode]...and so on.
I want to produce a quote letter using a REPORT but I have no idea how to handle the text. I want the report to create a neat address box that does not leave blank lines where there is a NULL value. If I try to group all of the fields I get a mess such as below...
Mr Fred Bloggs,
32 Nowhere Street, , Small Town,
, TG1 3DW
I tried to put [Address1] & ", " & [Address2] ... but if [Address2] is NULL then I get unwanted spaces and commas.
I just don't understand IF or is it IIF?! I could handle this with old fashioned 8-bit BASICs using various string handlers but not with Access!
If there's a simple answer or site that can help, I'd appreciate any info otherwise I'll have to look for a good book - again any advice is appreciated!
Thanks in advance
Davcom1