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 could not do that because there was no DIM for querydef. Do I need another ref. as an add-in ?
They gave me the following but I could DIM the field qry, hence the rest is useles..
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 could not do that because there was no DIM for querydef. Do I need another ref. as an add-in ?
They gave me the following but I could DIM the field qry, hence the rest is useles..
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?