― Johnny B Was Quizzical (Johnney B), Thursday, 19 January 2006 12:55 (twenty years ago)
― filled the fjords of my brain (kate), Thursday, 19 January 2006 13:13 (twenty years ago)
― ken c (ken c), Thursday, 19 January 2006 13:18 (twenty years ago)
― ken c (ken c), Thursday, 19 January 2006 13:19 (twenty years ago)
For query "qryD86" I was hoping it would be something like this:
Dim db As DAO.DatabaseDim qd As DAO.QueryDefSet db = CurrentDbSet qd = db.QueryDefs("qryD86")qd.ReturnsRecords = Falseqd.Close
But not too much like this, obviously, because this doesn't work.
Ken, I can't do that cos the query is a make-table:
SELECT stuffINTO temp1FROM somewhere
so I want the query to find records, just not display anything.
― Johnny B Was Quizzical (Johnney B), Thursday, 19 January 2006 13:19 (twenty years ago)
― filled the fjords of my brain (kate), Thursday, 19 January 2006 13:20 (twenty years ago)
― filled the fjords of my brain (kate), Thursday, 19 January 2006 13:31 (twenty years ago)
"Pass-through query with ReturnsRecords property set to True did not return any records."
― Johnny B Was Quizzical (Johnney B), Thursday, 19 January 2006 14:15 (twenty years ago)
― filled the fjords of my brain (kate), Thursday, 19 January 2006 14:16 (twenty years ago)
does that help?
― ken c (ken c), Thursday, 19 January 2006 14:28 (twenty years ago)
― ken c (ken c), Thursday, 19 January 2006 14:30 (twenty years ago)
― Johnny B Was Quizzical (Johnney B), Thursday, 19 January 2006 15:58 (twenty years ago)
E.g. select top 0 * into tablefrom other_table
― Colonel Poo (Colonel Poo), Thursday, 19 January 2006 16:15 (twenty years ago)
― Johnny B Was Quizzical (Johnney B), Thursday, 19 January 2006 16:17 (twenty years ago)
― Colonel Poo (Colonel Poo), Thursday, 19 January 2006 16:20 (twenty years ago)
― Johnny B Was Quizzical (Johnney B), Thursday, 19 January 2006 16:24 (twenty years ago)
― Colonel Poo (Colonel Poo), Thursday, 19 January 2006 16:27 (twenty years ago)