Hello
I found this query bit that does a nice job of retrieving all the tables in my db.
SELECT MSysObjects.Name FROM MsysObjects WHERE (Left$([Name],1)<>"~") AND (Left$([Name],4) <> "Msys") AND (MSysObjects.Type)=1 ORDER BY MSysObjects.Name;
So I have a combobox that uses this query to pull up all the table names. What I would like to do with this is have two more comboboxes the first with a start date the 2nd with an end date. Those dates would be tied to the selected table in the combobox. Then, use the parameters to pull a report based on those parms. I know I don't want much.
Please help I'm trying to impress some dictators at work and need some ammunition.
VinD
I found this query bit that does a nice job of retrieving all the tables in my db.
SELECT MSysObjects.Name FROM MsysObjects WHERE (Left$([Name],1)<>"~") AND (Left$([Name],4) <> "Msys") AND (MSysObjects.Type)=1 ORDER BY MSysObjects.Name;
So I have a combobox that uses this query to pull up all the table names. What I would like to do with this is have two more comboboxes the first with a start date the 2nd with an end date. Those dates would be tied to the selected table in the combobox. Then, use the parameters to pull a report based on those parms. I know I don't want much.
Please help I'm trying to impress some dictators at work and need some ammunition.
VinD