Hi and thanks for the work around. What I am doing is: I pull data from a kinda huge Oracle database where memo fields can be rather lengthy. I then put it in a user friendly format in access for the user. From here I pull data for a report through this union query. The three parts is
a. Select date, memo, number,heading etc. from table a, table b, table c where a = b and b = c and date between user input and etc.
union
b. select date, memo, number,heading etc. from table a, table b, table d where a= b and b=c and number not in(select number from table a) and date between user input and etc.
union
c. select date, null, null,heading etc. from table a, table c where not date between user input (to display a heading with no data)
I use this union to base my report on. When executing the report, I create an external database with a table holding the data for the report, then export the report as well so that the user can manipulate the data and the report without messing up the data in the main database. This external database is created with vba using tabledefs etc.
The problem is with the first query at the moment, because when I look at the data pulled from the query, the memo fields are already cut off. However, I suspect that I am going to have the same problem when I export the data.
Thanks for your input, I will try to concat the strings, I think I will need to line 10 of them up in most cases
