G
Guest
Hello all,
Using vb how would I make the stDocName a query only in code?
vSql = "select distinct to_cont from viaware_cm_f where wave = """ & vWave &
""""
Set db = CurrentDb()
Set rs = db.OpenRecordset(vSql)
stDocName = "vsql"
DoCmd.OutputTo acReport, stDocName
Using vb how would I make the stDocName a query only in code?
vSql = "select distinct to_cont from viaware_cm_f where wave = """ & vWave &
""""
Set db = CurrentDb()
Set rs = db.OpenRecordset(vSql)
stDocName = "vsql"
DoCmd.OutputTo acReport, stDocName