Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Stadler09

    Creating a main interface for control of multiple databases?

    Ideally, I would like to put the sequence in code, but I would like to break it up into logical steps. Some of the queries are fairly complex and are hitting huge tables....so some queries take 5 or 6 hours to run. My main problem is that I don't know how to write the code to run a query that...
  2. Stadler09

    Creating a main interface for control of multiple databases?

    Hello, I have three databases that are currently working "together". Example: One database has tables that are used as a basis to summarize data in another database. Tables between the databases are linked. The three databases have sets of queries that must be run in a specific sequence. It...
  3. Stadler09

    Trouble exporting a parameter query to Excel

    ALRIGHT! It worked. You guys are the best. That will eliminate a lot of headaches for me in the future with a lot of the financial reporting I have to do. Thanks! Craig.
  4. Stadler09

    Trouble exporting a parameter query to Excel

    I'll give that a shot when I get into work on Monday.
  5. Stadler09

    Trouble exporting a parameter query to Excel

    the control on the form is named "txtFromDate". The form name is "frmMainMenu". In the criteria of the query I put: GetFormValue(Forms![frmMainMenu]![txtFromDate]) I simply used it just like I would any other function. I think this would be a great way to get around my issue if this works...
  6. Stadler09

    Trouble exporting a parameter query to Excel

    John, I tried to use that function in my database, but it didn't work. Here is the function I typed into a separate module... Option Compare Database Function GetFormValue(strControlName As String) As Variant GetFormValue = Forms![frmMainMenu].Controls(strControlName).Value End Function...
  7. Stadler09

    Trouble exporting a parameter query to Excel

    Thanks for your input guys. I'd rather not create any more tables in this database. It's getting to be huge. John, Do you have an example of this function? All I want it to do is give me the date value that is on the form. I'm also not sure what you mean by passing a control name to the...
  8. Stadler09

    Trouble exporting a parameter query to Excel

    Hello. I am trying to export a select query that references a crosstab query to Excel. I have the VBA code that exports regular queries and I'm using that code to automate the exporting process. I have a form that supplies a specific date range for the user and I want to query my crosstab...

Part and Inventory Search

Back
Top