Hi,
I need to create some VBA to analyse an SQL statement and provide a list of tables and fields referenced in the SQL.
I've made a start, but the further I get into it the more complex it's getting!
Does anyone already have anything that does this?
Unfortunately I can't interrogate the Fields collection of the QueryDef - it has to be done by working with the SQL string. :-(
Any help much appreciated!
Ed Metcalfe.
Please do not feed the trolls.....
I need to create some VBA to analyse an SQL statement and provide a list of tables and fields referenced in the SQL.
I've made a start, but the further I get into it the more complex it's getting!
Does anyone already have anything that does this?
Unfortunately I can't interrogate the Fields collection of the QueryDef - it has to be done by working with the SQL string. :-(
Any help much appreciated!
Ed Metcalfe.
Please do not feed the trolls.....