S
SAm
hi
i have a field which stores email addresses in a memo field. i have one
query which shows the full length of the field. then i have a another query
which truncates part of the field. the catch is that the join i use in the
second query is unusual join it uses a between join. i will post the second
query. is there a way to somehow with some minipulation to stop it from
truncating my field. i was told maybe to minipulate it with unicode, strconv.
i am not sure. please help.
here is the query:
SELECT WeeklyOTAll1Qry.Facility, WeeklyOTAll1Qry.FullName,
WeeklyOTAll1Qry.DeptName, WeeklyOTAll1Qry.EmailAddressTo,
WeeklyOTAll1Qry.EmailAddressCC, WeeklyOTAll2Qry.WeekEndDate,
Sum(nz(WeeklyOTAll1Qry.TotalHours)) AS TotalHours,
Sum(nz(WeeklyOTAll1Qry.RegHours)) AS RegularHours,
Sum(nz(WeeklyOTAll1Qry.OTHours)) AS OTHours,
Sum(nz(AgencyDeTransposeQry.AgencyHours)) AS AgencyHours
FROM AgencyDeTransposeQry RIGHT JOIN (WeeklyOTAll2Qry INNER JOIN
WeeklyOTAll1Qry ON
(WeeklyOTAll2Qry.FacilityInitials=WeeklyOTAll1Qry.Facility) AND
(WeeklyOTAll1Qry.RecDate Between WeeklyOTAll2Qry.WeekStartDate And
WeeklyOTAll2Qry.WeekEndDate)) ON
(AgencyDeTransposeQry.FacilityName=WeeklyOTAll1Qry.Facility) AND
(AgencyDeTransposeQry.RecordDate=WeeklyOTAll1Qry.RecDate) AND
(AgencyDeTransposeQry.Department=WeeklyOTAll1Qry.DeptName)
GROUP BY WeeklyOTAll1Qry.Facility, WeeklyOTAll1Qry.FullName,
WeeklyOTAll1Qry.DeptName, WeeklyOTAll1Qry.EmailAddressTo,
WeeklyOTAll1Qry.EmailAddressCC, WeeklyOTAll2Qry.WeekEndDate;
the field WeeklyOTAll1Qry.EmailAddressCC gets truncated.
thanks,
sam
i have a field which stores email addresses in a memo field. i have one
query which shows the full length of the field. then i have a another query
which truncates part of the field. the catch is that the join i use in the
second query is unusual join it uses a between join. i will post the second
query. is there a way to somehow with some minipulation to stop it from
truncating my field. i was told maybe to minipulate it with unicode, strconv.
i am not sure. please help.
here is the query:
SELECT WeeklyOTAll1Qry.Facility, WeeklyOTAll1Qry.FullName,
WeeklyOTAll1Qry.DeptName, WeeklyOTAll1Qry.EmailAddressTo,
WeeklyOTAll1Qry.EmailAddressCC, WeeklyOTAll2Qry.WeekEndDate,
Sum(nz(WeeklyOTAll1Qry.TotalHours)) AS TotalHours,
Sum(nz(WeeklyOTAll1Qry.RegHours)) AS RegularHours,
Sum(nz(WeeklyOTAll1Qry.OTHours)) AS OTHours,
Sum(nz(AgencyDeTransposeQry.AgencyHours)) AS AgencyHours
FROM AgencyDeTransposeQry RIGHT JOIN (WeeklyOTAll2Qry INNER JOIN
WeeklyOTAll1Qry ON
(WeeklyOTAll2Qry.FacilityInitials=WeeklyOTAll1Qry.Facility) AND
(WeeklyOTAll1Qry.RecDate Between WeeklyOTAll2Qry.WeekStartDate And
WeeklyOTAll2Qry.WeekEndDate)) ON
(AgencyDeTransposeQry.FacilityName=WeeklyOTAll1Qry.Facility) AND
(AgencyDeTransposeQry.RecordDate=WeeklyOTAll1Qry.RecDate) AND
(AgencyDeTransposeQry.Department=WeeklyOTAll1Qry.DeptName)
GROUP BY WeeklyOTAll1Qry.Facility, WeeklyOTAll1Qry.FullName,
WeeklyOTAll1Qry.DeptName, WeeklyOTAll1Qry.EmailAddressTo,
WeeklyOTAll1Qry.EmailAddressCC, WeeklyOTAll2Qry.WeekEndDate;
the field WeeklyOTAll1Qry.EmailAddressCC gets truncated.
thanks,
sam