
Originally Posted by
jpkeller55
Hey Adam,
Yes, Responses are also a Memo field. However, blQuestResponseSets_SHOW and tblQuestResponseSets_HIDE are Text fields while Sequence and resporder are numbers. Do I need all the fields to be Memo to get this to work right?
Jim,
If you read Allen's page, he mentions aggegration. I've noticed that you've got a 'group by' in the first qry and an 'order by' in the second one. I would certainly guess that this combo is causing something.
I'm not exactly sure what weekend is testing, but if he is using similar data as you are, something might be corrupt with the query, but I do doubt that is the case...
do me a favor and run some of the following queries and tell me if the memos are being cut:
don't use a 'group by':
Code:
select 1 as temp,first([Order]) as Sequence, Question,
""as Response,"" as RespOrder,"" as tblQuestResponseSets_SHOW,
"" as tblQuestResponseSets_HIDE from tblTempCounsel
UNION select 2 as temp,[Order],"",Response, resporder,
tblQuestResponseSets_SHOW, tblQuestResponseSets_HIDE
from tblTempCounsel ORDER BY [Sequence], temp, RespOrder;
don't use any aggregations or indexing clauses:
Code:
select 1 as temp,first([Order]) as Sequence, Question,
""as Response,"" as RespOrder,"" as tblQuestResponseSets_SHOW,
"" as tblQuestResponseSets_HIDE from tblTempCounsel
UNION select 2 as temp,[Order],"",Response, resporder,
tblQuestResponseSets_SHOW, tblQuestResponseSets_HIDE
from tblTempCounsel
take out all the functions:
Code:
select [Order] as Sequence, Question,
""as Response,"" as RespOrder,"" as tblQuestResponseSets_SHOW,
"" as tblQuestResponseSets_HIDE from tblTempCounsel
UNION select [Order],"",Response, resporder,
tblQuestResponseSets_SHOW, tblQuestResponseSets_HIDE
from tblTempCounsel