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 SkipVought 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. needsolution

    Change a Query's Criteria with code

    TTThio, Thanks for the advise. However, that part I already know. What I am trying to do is to put the above expression as the Query Criteria automatically using VBA. Currently, I use doCmd.openQuery to open the query in Design mode. Then, I use Sendkeys to move the cursor to the Criteria...
  2. needsolution

    Change a Query's Criteria with code

    Hello, Suppose I have a query that pulls the following fields: 1. Date 2. Amount of payments I also have a form that has: 1. StartDate Text box 2. EndDate Text box 3. OpenQuery Button What I want to achieve is to enable user to specify the date range for the query. How can I change the...
  3. needsolution

    converting a string to a control a control name

    Hello, Try this: 1. Create a new form. 2. Create 5 textboxes, and name them "Text1", "Text2", ... "Text5" 3. Create a button and put the following code in the OnClick Event of the button: '********************** Dim i As Integer Dim strText As String Dim cControl...
  4. needsolution

    Insufficient Memory

    I experienced similar problem when exporting Data from Access to Excel. The following article at Microsoft web site may help: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q216400 Or simply go to microsoft.com and search the following: PRB: Cross-Process COM Automation Can Hang...
  5. needsolution

    Open query from another database

    I do not know exactly how you managed to open the second database from the first one, but I assume you declared a new Database object and then set its value to the second database. If that was how you got in (let's say that the second database is called DB2), all you need to do is to execute...

Part and Inventory Search

Back
Top