How to obtain SQL Statement from recordset
Posted on 2011-03-18
Hi Guys, this has got to be simple but it's alluded me so far.
How do I get the SQL statement from a recordset object?
I'm wanting to set it to a variable but I don't know what the property name is for the SQL Text....
dim strSQL as string
strSQL = Me.RecordsetClone.sqltext
Thanks in advance,