I am trying to create a custom report in RMS Active Reports which will show me all items which have not sold since a specific date. I've got the following report filter in my .QRP file:
Begin Filter FieldName = "Item.LastSold" FilterOp = reportfilteropBetween FilterLoLim = "8/1/2006" FilterHilim = "8/31/2006" FilterNegated = True FilterConnector = reportfilterbooleanconAND End Filter
This filter will show me items which did sell at some time, but have not sold since August 1. That mean that the item.lastsold date will be poplated with a date which is earlier than 08/01/2006. However, it will NOT show me items which have not sold at all. For those items, the item.lastsold date is NULL.
I can do this through a simple SQL WHERE clause: where (lastsold is null or lastsold < '2006-08-01')
However, I can't use raw SQL in my report program. I need some way to either specify a date value of NULL in my report filter dialog, or a way to manually set a filter in code, setting the FilterOp to IS (whatever the correct ReportFilterOp is for that) and the FilterLoLim and FilterHiLim to NULL (or "NULL")
Bill Yater The Worth Collection snipped-for-privacy@worthltd.com