Search results

  1. P

    Search bar in form

    Hey, I'm trying to add a search bar to a form which is linked to multiple tables. I've got it so that it will go to some records but not all of them when you select them. Anyone have any ideas? Code: Private Sub Combo89_AfterUpdate() 'Moves to Customer Name text box and 'finds the...
  2. P

    DoCmd.RunSQL strSQL - Slowly killing my brain

    When I do that I get the error message: 'Run-time error '3075': Syntax error in string in query expression '[Master Query beta 1].[ID]= DATE() & " & DATE()-1;'. Any idea why? Thank you so much for the assistance
  3. P

    DoCmd.RunSQL strSQL - Slowly killing my brain

    Is it possible for me to run more than one of these queries in a single module/button? If it is, how would I tell VBA that one query had ended and another one was going to begin?
  4. P

    DoCmd.RunSQL strSQL - Slowly killing my brain

    It works! Please be assured that if you guys were here I would kiss you.
  5. P

    DoCmd.RunSQL strSQL - Slowly killing my brain

    If I have the SQL as follows then I get the error message "Run-time error '3134' Syntax error in INSERT INTO statement" INSERT INTO [Merchant CCF]([Merchant Name][Merchant Type][Partner][Merchant Sector]) SELECT ([Merchant Name,[Merchant Type],[Partner],[Merchant Sector]) FROM [Main Table]...
  6. P

    DoCmd.RunSQL strSQL - Slowly killing my brain

    Sorry scrap that again. Now it's telling me that I have an incomplete query clause
  7. P

    DoCmd.RunSQL strSQL - Slowly killing my brain

    Sorry, scrap that. Now it says: "Error - 3134 Syntax error in INSERT INTO statement"
  8. P

    DoCmd.RunSQL strSQL - Slowly killing my brain

    Now that I've done that I'm getting "runtime error = 3075 Syntax Error (missing operator) in query expression '([Merchant Name][Merchant Type][Partner][Merchant Sector])'." Thank you both so much for your patience in helping me deal with this. I really appreciate it.
  9. P

    DoCmd.RunSQL strSQL - Slowly killing my brain

    Hey, I'm trying to create a code which selects some records from one table and posts them into another. I'm a complete beginner at this but I've managed to get this far: Private Sub Command83_Click() Dim strSQL As String Dim strCriteria As String strSQL = "" strSQL = strSQL & " INSERT INTO...
Back
Top Bottom