boblarson
Smeghead
- Local time
- Today, 09:22
- Joined
- Jan 12, 2001
- Messages
- 32,059
I'm not real good with DAO, and I am building a dynamic SQL string and need to pass 11 parameters to this query. How do I assign the SQL to a querydef object and the parameters? How do you tell it that it has parameters? Do you use something like:
strSQL = "PARAMETERS x1 Bit, x2 Bit, x3 Bit, x4 Bit, x5 Bit, x6 Bit, x7 Bit, x8 Bit, x9 Bit, x10 Bit, x11 Bit;"
Let me know if you need other info as I'm not sure what to supply at the moment.
strSQL = "PARAMETERS x1 Bit, x2 Bit, x3 Bit, x4 Bit, x5 Bit, x6 Bit, x7 Bit, x8 Bit, x9 Bit, x10 Bit, x11 Bit;"
Let me know if you need other info as I'm not sure what to supply at the moment.