Help With Filtering Question

C

cvegas

SELECT Shipment.PUDate, Shipment.SchedDelDate
FROM Shipment
WHERE (((Shipment.PUDate)=Date()) OR ((Shipment.SchedDelDate)=Date()));

I would like to filter my frmDispatchBoard based on the query above.

I am having problem with the syntax.

Me.filter = ?????

Any help would be appreciated.
 
M

Mark via AccessMonster.com

Try
Me.Filter = "((Shipment.PUDate)=Date()) OR (Shipment.SchedDelDate)=Date())"
Me.FilterOn = True

Sometimes I have to play with the parenthesis by either adding or substracting one level.
 
J

John Vinson

SELECT Shipment.PUDate, Shipment.SchedDelDate
FROM Shipment
WHERE (((Shipment.PUDate)=Date()) OR ((Shipment.SchedDelDate)=Date()));

I would like to filter my frmDispatchBoard based on the query above.

I am having problem with the syntax.

Me.filter = ?????

Any help would be appreciated.


Eh?

How about

Me.Filter = "(((Shipment.PUDate)=Date()) OR
((Shipment.SchedDelDate)=Date()))"


John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top