Hi,
I have a report works fine in Access 2000 - Does't work so well in 2003
The problem is I have a six line address made up from six seperate fields,
ADD1, ADD2 etc. If I just place the fields in line under one another any blank field produces a blank line - not so good when there is the Post Code hangin a couple of lines down.
In Access 2000 I got round this by hiding the address fields with properties, visible = no and then creating a public function called FullAddress that tested to see which fields had a value and concatenated them with a CHR(10)&CHR(13) code between each line.
I then put a text box in the report header and in the text box I entered:
=[FullAddress]
This works fine in 2000 but is not recognised in 2003.
I've tried the decompile option and then recompile but this does not work.
I've tried placing the public function both on the report (where it works in 2000) and in a seperate utility module but nothing seems to work in 2003.
Any ieads would be appreciated.
Regards... Sprocket
I have a report works fine in Access 2000 - Does't work so well in 2003
The problem is I have a six line address made up from six seperate fields,
ADD1, ADD2 etc. If I just place the fields in line under one another any blank field produces a blank line - not so good when there is the Post Code hangin a couple of lines down.
In Access 2000 I got round this by hiding the address fields with properties, visible = no and then creating a public function called FullAddress that tested to see which fields had a value and concatenated them with a CHR(10)&CHR(13) code between each line.
I then put a text box in the report header and in the text box I entered:
=[FullAddress]
This works fine in 2000 but is not recognised in 2003.
I've tried the decompile option and then recompile but this does not work.
I've tried placing the public function both on the report (where it works in 2000) and in a seperate utility module but nothing seems to work in 2003.
Any ieads would be appreciated.
Regards... Sprocket