Is there some issue with using too many left/right/mid/len functions
in queries? Depending on the usage, they work fine, but... then
there's here:
SELECT Master_CAO.Inci pit, Master_CAO.Full Text, Len([Incipit]) AS
[Length of Incipit], Left([Master_CAO]![FullText],Len([Incipit])) AS
[FullText-same length]
FROM Master_CAO
WHERE (((Left([FullText],Len([Incipit])))<>[Incipit]));
I'm trying to compare two fields, Incipit and FullText - FullText is a
longer version of Incipit, so I only want to compare the first part of
Fulltext, hence the len function. I can view this truncated text no
problem, but once I put in any criteria (<> in this case), I get a
data type mismatch error, which stymies me, since the data type
doesn't seem to have anything to do with it (Incipit is a text field,
FullText is a memo field; changing Incipit to a memo field doesn't
remove the error).
Should I look at using VBA?
Any ideas?
Thanks!
Martin Lacoste
in queries? Depending on the usage, they work fine, but... then
there's here:
SELECT Master_CAO.Inci pit, Master_CAO.Full Text, Len([Incipit]) AS
[Length of Incipit], Left([Master_CAO]![FullText],Len([Incipit])) AS
[FullText-same length]
FROM Master_CAO
WHERE (((Left([FullText],Len([Incipit])))<>[Incipit]));
I'm trying to compare two fields, Incipit and FullText - FullText is a
longer version of Incipit, so I only want to compare the first part of
Fulltext, hence the len function. I can view this truncated text no
problem, but once I put in any criteria (<> in this case), I get a
data type mismatch error, which stymies me, since the data type
doesn't seem to have anything to do with it (Incipit is a text field,
FullText is a memo field; changing Incipit to a memo field doesn't
remove the error).
Should I look at using VBA?
Any ideas?
Thanks!
Martin Lacoste
Comment