ajetrumpet
Banned
- Local time
- Today, 14:20
- Joined
- Jun 22, 2007
- Messages
- 5,638
This a continuation of my first one guys...
I am stuck on one last issue:
I have a "SELECT TOP n" SQL statement that applies to a query. I want to randomize the set, but by using an array. I can use GetRows to populate the 2-dimensional from a recordset opened by the statement, and then create a table from that shuffled array, but I don't want to create a table. I want to create a query. How in the world do I create a query using .CreateQueryDef if the method uses an SQL statement, and all I have is a single array with a bunch of values in it?
And Pono, if you're looking at this and thinking I'm am repeating myself, that's because I am, for the first time in a LONG time, confused as he**!!
I am stuck on one last issue:
I have a "SELECT TOP n" SQL statement that applies to a query. I want to randomize the set, but by using an array. I can use GetRows to populate the 2-dimensional from a recordset opened by the statement, and then create a table from that shuffled array, but I don't want to create a table. I want to create a query. How in the world do I create a query using .CreateQueryDef if the method uses an SQL statement, and all I have is a single array with a bunch of values in it?
And Pono, if you're looking at this and thinking I'm am repeating myself, that's because I am, for the first time in a LONG time, confused as he**!!
