Question : Is there a better docmd.sendobject method to send query results?

I am trying to send a table or query but the problem i have is understanding how to apply the filter date or date to the where clause.

The method in this example feels wrong, like I should be able to pass a SQL statement direct but I cant figure out how.

1:
2:
3:
4:
5:
6:
7:
    Dim qdef As DAO.QueryDef
    
    Set qdef = CurrentDb.CreateQueryDef("testReportSend", "select Name, ListMissingFrom FROM ListExceptions Where DateProcessed = #6/1/2010#")
        
    DoCmd.SendObject acSendQuery, "testReportSend", acFormatXLS, "[email protected]", , , "query send test", "Please review and resolve", True

    CurrentDb.QueryDefs.Delete "testReportSend"

Answer : Is there a better docmd.sendobject method to send query results?

Without the files being on a streaming server, you won't get this to work.  So do it the way 99% of other people do it, and simply upload the videos to youtube.com.  You tube is a sophisticated streaming server, and it will do everything you want -- which is why almost everyone, even to the highest levels of the government, use it to stream video.
Random Solutions  
 
programming4us programming4us