Tried posting in other forums, maybe this is the correct one to post in.
I can't believe this will not work.
Using an ADP. backend stored procedures. have done this million times using a table. Can you substitute a stored procedure returning the data you want in place of the table? 100 people on the net say yes, 100 say no. The syntax says you can use a query. Does a query mean a sp as well? 1 person said create a query in vb. I did an add in for 3.6 DAO. The set qry comes up with and invalid object.
Dim qry As querydef
Dim sqlStmt As String
sqlStmt = "SELECT tblepoftp_Data " & _
"FROM tblEDIPOFTP"
Set qry = CurrentDb().QueryDefs("qryTemp")
qry.sql = sqlStmt
DoCmd.TransferText acExportFixed, , qry.sql, FTPAddress
....thanks.
Remember when... everything worked and there was a reason for it?
I can't believe this will not work.
Using an ADP. backend stored procedures. have done this million times using a table. Can you substitute a stored procedure returning the data you want in place of the table? 100 people on the net say yes, 100 say no. The syntax says you can use a query. Does a query mean a sp as well? 1 person said create a query in vb. I did an add in for 3.6 DAO. The set qry comes up with and invalid object.
Dim qry As querydef
Dim sqlStmt As String
sqlStmt = "SELECT tblepoftp_Data " & _
"FROM tblEDIPOFTP"
Set qry = CurrentDb().QueryDefs("qryTemp")
qry.sql = sqlStmt
DoCmd.TransferText acExportFixed, , qry.sql, FTPAddress
....thanks.
Remember when... everything worked and there was a reason for it?