Glenda-- The two SQL strings are, indeed, identical, as you pointed out (with the exception of the HAVING clause). So...the problem, then, is probably in your data. Access (and other Office apps) produce the 'little boxes' when non-printing characters are encountered, such as a TAB character; my guess is that such characters are in the 'AvtyComment' field where DataStuAvty.Activity="Enrollment Deposit". You can either strip all such characters from the 'AvtyComment' field when the data is entered, or you can try to remove them when running the query (which, I believe, would require writing and calling a custom function, though I could be wrong). Hope this helps... --Jim -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Glenda Wells Sent: Wednesday, March 30, 2005 13:23 PM To: mso@xxxxxxxxxxxxx Subject: [mso] Access Query/Report help The two statements below are identical except for the criteria. One is looking for Enrollment Deposit the other looking for Application Fee. The one for App Fee runs and the result includes the VAL from AvtyComment as it should. The one for Deposit runs and the result incudes little boxes where the VAL should be. Any thoughts on this would be MOST appreciated. I've spent way too much time trying to figure this out. /glenda ENROLLMENT DEPOSIT SELECT DataStu.EntryTerm, DataStuAvty.STUD_PKID, DataStuAvty.AvtyComment, DataStu.LastName, DataStu.FirstName, DataStu.MiddleName, DataStu.SSN, DataStuAvty.ActivityDate, DataStuAvty.Activity, Val([AvtyComment]) AS Amount FROM DataStuAvty INNER JOIN DataStu ON DataStuAvty.STUD_PKID=DataStu.STUD_PKID GROUP BY DataStu.EntryTerm, DataStuAvty.STUD_PKID, DataStuAvty.AvtyComment, DataStu.LastName, DataStu.FirstName, DataStu.MiddleName, DataStu.SSN, DataStuAvty.ActivityDate, DataStuAvty.Activity, Val([AvtyComment]) HAVING (((DataStuAvty.AvtyComment) Is Not Null And (DataStuAvty.AvtyComment) Not Like "W*") AND ((DataStuAvty.Activity)="Enrollment Deposit")) ORDER BY DataStuAvty.AvtyComment, DataStu.LastName, DataStu.FirstName; APPLICATION FEE SELECT DataStu.EntryTerm, DataStuAvty.STUD_PKID, DataStuAvty.AvtyComment, DataStu.LastName, DataStu.FirstName, DataStu.MiddleName, DataStu.SSN, DataStuAvty.ActivityDate, DataStuAvty.Activity, Val([AvtyComment]) AS Amount FROM DataStuAvty INNER JOIN DataStu ON DataStuAvty.STUD_PKID=DataStu.STUD_PKID GROUP BY DataStu.EntryTerm, DataStuAvty.STUD_PKID, DataStuAvty.AvtyComment, DataStu.LastName, DataStu.FirstName, DataStu.MiddleName, DataStu.SSN, DataStuAvty.ActivityDate, DataStuAvty.Activity, Val([AvtyComment]) HAVING (((DataStuAvty.AvtyComment) Is Not Null And (DataStuAvty.AvtyComment) Not Like "W*") AND ((DataStuAvty.Activity)="Application Fee")) ORDER BY DataStuAvty.AvtyComment, DataStu.LastName, DataStu.FirstName; ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************