[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).
http://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
*************************************************************

Other related posts: