LonnieJohnson
Programmer
I have a listbox with table names. I want to be able to double click on one and create a new query with that table.
I tried playing with the query def object, but it seems to save the query. I want to be able (via VBA) to open a new query in design view with a predetermined table name and no fields selected.
Am I asking too much or just to blind to see how? Is there like a NEW DATABASE OBJECT fuction?
Much thanks in advance.
ProDev, MS Access Applications
Visit me at ==> Contact me at ==>lonniejohnson@prodev.us
May God bless you beyond your imagination!!!
I tried playing with the query def object, but it seems to save the query. I want to be able (via VBA) to open a new query in design view with a predetermined table name and no fields selected.
Am I asking too much or just to blind to see how? Is there like a NEW DATABASE OBJECT fuction?
Much thanks in advance.
ProDev, MS Access Applications
Visit me at ==> Contact me at ==>lonniejohnson@prodev.us
May God bless you beyond your imagination!!!