I need to do the following but need direction on how to make it all work.
Convert OperationsDate to a number (day of week – in query.. call it WeekDayNumber )
IIf OperationsDate (in Dispatch Table) is greater than or equal to EffectiveFrom (in Schedules Table) and Less than or equal to EffectiveTo (in Schedules Table) AND
IIF WeekDayNumber (in qrySchedules) equal to a value (ie: 123----, ---45--, -----67 etc) in DaysofOperation (in Schedules table)
Then run update query to return all records that apply....to a tblTemp
help... please....