trafficstudent
Programmer
I have the formula below in my record selection window: Waht is going on is when i select a Part Number I return the part number and all dates up to the creation of the database. If I select a Part Number and a Date Range (as coded after the "or") I still return the Part Number and all the dates.
I don't know why im returning all dates when i specifically declare the piece of code with a date range parameter?
Can anyone help m out?
({LaborDistribution.PartNumber} = {?Part Number Selection} and
not ({WorkCenters.WorkCenterID} startswith "9") and
{LaborDistribution.StartDate} <> {LaborDistribution.StopDate})
or
({WOHeader.StartDate}={?Date Range} and
{LaborDistribution.PartNumber} = {?Part Number Selection} and
not ({WorkCenters.WorkCenterID} startswith "9") and
{LaborDistribution.StartDate} <> {LaborDistribution.StopDate})
I don't know why im returning all dates when i specifically declare the piece of code with a date range parameter?
Can anyone help m out?
({LaborDistribution.PartNumber} = {?Part Number Selection} and
not ({WorkCenters.WorkCenterID} startswith "9") and
{LaborDistribution.StartDate} <> {LaborDistribution.StopDate})
or
({WOHeader.StartDate}={?Date Range} and
{LaborDistribution.PartNumber} = {?Part Number Selection} and
not ({WorkCenters.WorkCenterID} startswith "9") and
{LaborDistribution.StartDate} <> {LaborDistribution.StopDate})