ColinSully
Board Regular
- Joined
- May 9, 2002
- Messages
- 69
Hi, I am new to working with Access and am working with a database that has already been created.
One fo the modifications I need to make is to change the data type of a comments field from text to memo.
I have succeeded in doing this, however, I get an error when I try to run one of my queries. It appears that Access "can't group on memo" I tried modifying the GROUPBY attribute in SQL but I'm not entirely sure what I'm doing.
The SQL currently reads:
SELECT MAX(MaxComments.DateReference) AS MaxDate, SubNotNullComments.DateReference, SubNotNullComments.Comments, MaxComments.ProjectID
FROM SubNotNullComments INNER JOIN SubNotNullComments AS MaxComments ON MaxComments.ProjectID = SubNotNullComments.projectID
GROUP BY MaxComments.ProjectID, SubNotNullComments.DateReference, SubNotNullComments.Comments
HAVING ((Max(MaxComments.DateReference))=[SubNotNullComments]![DateReference]);
I have bolded the 2 occurences of the comments field that I changed to memo if that helps.
Any ideas on how I might be able to solve this problem would be greatly appreciated.
Many Thanks,
Colin
One fo the modifications I need to make is to change the data type of a comments field from text to memo.
I have succeeded in doing this, however, I get an error when I try to run one of my queries. It appears that Access "can't group on memo" I tried modifying the GROUPBY attribute in SQL but I'm not entirely sure what I'm doing.
The SQL currently reads:
SELECT MAX(MaxComments.DateReference) AS MaxDate, SubNotNullComments.DateReference, SubNotNullComments.Comments, MaxComments.ProjectID
FROM SubNotNullComments INNER JOIN SubNotNullComments AS MaxComments ON MaxComments.ProjectID = SubNotNullComments.projectID
GROUP BY MaxComments.ProjectID, SubNotNullComments.DateReference, SubNotNullComments.Comments
HAVING ((Max(MaxComments.DateReference))=[SubNotNullComments]![DateReference]);
I have bolded the 2 occurences of the comments field that I changed to memo if that helps.
Any ideas on how I might be able to solve this problem would be greatly appreciated.
Many Thanks,
Colin