Hi,
I have this query below. I find that when I don't include these quotation marks at the end of my RTRIM statements I don't get back all of the criteria satisfying data. Does anyone know why this is the case? Does it have something to do with null values?Is it a good coding practice to include these quotation marks?
I'm very curious about this and would appreciate any help.
Thanks,
MBaddar
SELECT LRecs.*, MRecs.*
FROM MRecs LEFT JOIN LRecs ON MRecs.fld_RID = LRecs.fld_RID
WHERE (((LRecs.fld_Status)<>[MRecs]![fld_Status]))
OR ((RTRIM(MRecs.fld_ThirdPartyInfo1)&""<>RTRIM([LRecs]![fld_ThirdPartyInfo1]&"")
OR ((RTRIM(MRecs.fld_ThirdPartyInfo2)&""<>RTRIM([LRecs]![fld_ThirdPartyInfo2])&""
I have this query below. I find that when I don't include these quotation marks at the end of my RTRIM statements I don't get back all of the criteria satisfying data. Does anyone know why this is the case? Does it have something to do with null values?Is it a good coding practice to include these quotation marks?
I'm very curious about this and would appreciate any help.
Thanks,
MBaddar
SELECT LRecs.*, MRecs.*
FROM MRecs LEFT JOIN LRecs ON MRecs.fld_RID = LRecs.fld_RID
WHERE (((LRecs.fld_Status)<>[MRecs]![fld_Status]))
OR ((RTRIM(MRecs.fld_ThirdPartyInfo1)&""<>RTRIM([LRecs]![fld_ThirdPartyInfo1]&"")
OR ((RTRIM(MRecs.fld_ThirdPartyInfo2)&""<>RTRIM([LRecs]![fld_ThirdPartyInfo2])&""