Hello
I have found a what looks to be a solution from a previous thread on this forum, but my query returns no results.
Can someone assist.
I am trying to return results from a query based on field Tbl_Tracking. I have an option group of (1 In Transit 2 Arrived and 3 All) on form Frm_Global_Tracking
I have double and triple checked my spelling of the forms and frame to make sure all is correct.
Query
SELECT Tbl_Tracking.Destination, Tbl_Tracking.Origin, Tbl_Tracking.[Actual ETA]
FROM Tbl_Tracking
WHERE (((Tbl_Tracking.[Actual ETA])=IIf([Forms]![Frm_Global_Tracking]![fraTrans]=1,[Tbl_Tracking].[Actual ETA] Is Null,IIf([Forms]![Frm_Global_Tracking]![fraTrans]=2,[Tbl_Tracking].[Actual ETA] Is Not Null,1=1))));
Thanks
I have found a what looks to be a solution from a previous thread on this forum, but my query returns no results.
Can someone assist.
I am trying to return results from a query based on field Tbl_Tracking. I have an option group of (1 In Transit 2 Arrived and 3 All) on form Frm_Global_Tracking
I have double and triple checked my spelling of the forms and frame to make sure all is correct.
Query
SELECT Tbl_Tracking.Destination, Tbl_Tracking.Origin, Tbl_Tracking.[Actual ETA]
FROM Tbl_Tracking
WHERE (((Tbl_Tracking.[Actual ETA])=IIf([Forms]![Frm_Global_Tracking]![fraTrans]=1,[Tbl_Tracking].[Actual ETA] Is Null,IIf([Forms]![Frm_Global_Tracking]![fraTrans]=2,[Tbl_Tracking].[Actual ETA] Is Not Null,1=1))));
Thanks