P
PiB311
Hello all. Any help is appreciated.
I receive the error message above when performing the following action:
Dim db As DAO.Database
Dim rs As DAO.Recordset
'Export Individual Login_Logout data
Set db = CurrentDb
Set rs = db.OpenRecordset("SELECT qry_daily_wg_export_sykes.[name];")
rs.MoveFirst
On Error Resume Next
Do Until rs.EOF
Me.txt_name = rs.Name
DoCmd.OpenQuery "Qry_Daily_Login_Logout_Export"
MsgBox "do you see any values?"
DoCmd.Close acQuery, "Qry_Daily_Login_Logout_Export", acSaveNo
rs.MoveNext
Loop
I have gone back to qry_daily_wg_export_sykes and set parameters within the
query, and still I am having no luck.
Again, thanks for any suggestions.
I receive the error message above when performing the following action:
Dim db As DAO.Database
Dim rs As DAO.Recordset
'Export Individual Login_Logout data
Set db = CurrentDb
Set rs = db.OpenRecordset("SELECT qry_daily_wg_export_sykes.[name];")
rs.MoveFirst
On Error Resume Next
Do Until rs.EOF
Me.txt_name = rs.Name
DoCmd.OpenQuery "Qry_Daily_Login_Logout_Export"
MsgBox "do you see any values?"
DoCmd.Close acQuery, "Qry_Daily_Login_Logout_Export", acSaveNo
rs.MoveNext
Loop
I have gone back to qry_daily_wg_export_sykes and set parameters within the
query, and still I am having no luck.
Again, thanks for any suggestions.