select 'DOC' as type, DocID, DocTitle, DocDescription, FileSize, FileExt, DocPath, 0 as ContentId from qryDocuments where upper(DocPath) not like '%CLEARPIXEL%' union select 'IMG' as type, ImgID as DocID, ImgTitle as DocTitle, ImgDescription as DocDescription, FileSize, FileExt, ContentPath as DocPath, ContentID from qryImages where upper(contentpath) not like '%CLEARPIXEL%' order by doctitle
#_lowerPagerDisplay#