Mar 8, 2004 #1 sucoyant IS-IT--Management Sep 21, 2002 213 US Hello all! Is there a way in VBA to create a query, and 'save' it so it shows in the "Queries" window? Thanks in advance! ________________________________________ Buddha. Dharma. Sangha.
Hello all! Is there a way in VBA to create a query, and 'save' it so it shows in the "Queries" window? Thanks in advance! ________________________________________ Buddha. Dharma. Sangha.
Mar 8, 2004 1 #2 drctx IS-IT--Management May 20, 2003 226 US yes like this: Dim sql As String sql = "SELECT * FROM DBNames;" CurrentDb.CreateQueryDef "qryTest", sql Upvote 0 Downvote
yes like this: Dim sql As String sql = "SELECT * FROM DBNames;" CurrentDb.CreateQueryDef "qryTest", sql
Mar 8, 2004 Thread starter #3 sucoyant IS-IT--Management Sep 21, 2002 213 US AH HA! THANK YOU! Your help is GREATLY appreciated!!!! ________________________________________ Buddha. Dharma. Sangha. Upvote 0 Downvote
AH HA! THANK YOU! Your help is GREATLY appreciated!!!! ________________________________________ Buddha. Dharma. Sangha.