"BerkshireGuy" <be*************************@yahoo.comwrote in
news:11*********************@h40g2000cwb.googlegro ups.com:
I thought I remember a utility that lets you cut a Select statement
from a query and it converts it to be used in VB. Takes the work out
of making sure the syntax is correct.
Anyone know of such a utility?
The SQL created by the Query Wizard? in Access is convoluted, verbose,
inefficient, ugly and bad. (For the young: It sucks!)
One might consider going from the String to to the Stored Definition as a
more productive route. After one has learned to write SQL, many previously
puzzling tasks may seem simple.
In any case the QueryDef's SQL (string property) holds the SQL string.
--
lyle fairfield