Recent content by Stormrider83

  1. S

    Exporting Multiple Records to a word file

    Cheers will have a look and post how I get on! Unforunately I am using Access 2007 lots of ribbons and no recognisable menus!
  2. S

    Exporting Multiple Records to a word file

    The number of columns IS set to 7 and the maths is dead on. Access still prints on line per page. Even if the maths was slightly off I could live with it... The problem isn't that the report is slightly off its simply printing one line per page...
  3. S

    Exporting Multiple Records to a word file

    Also I set the template to 7 across (in access) and it only prints one column admittedly to the end of the recordset.
  4. S

    Exporting Multiple Records to a word file

    I did try it but the label I am using (Avery L4731) is not in Access only in word. The custom selection doesn't quite work properly where as the Word template I am using does.
  5. S

    Exporting Multiple Records to a word file

    Hi! This will have a simple solution (hopefully). I have a word document with bookmarks and VBA code to export records and place them within the bookmarks: Private Sub Labels_Click() Dim MyWord As Word.Application Dim PathDocu As String Set MyWord = New Word.Application PathDocu =...
  6. S

    Change INSERT to UPDATE

    Oh good lateral thinking there!
  7. S

    Change INSERT to UPDATE

    Hi, I have code which sucessfully copies rows from a query to a table. What I want to do is update records in a table based on a query in another table. Can anyone convert the following SQL to do this: INSERT INTO Tbl_Paint_Order_Parts ( Paint_Order_ID, Part, Qty ) SELECT...
  8. S

    Update Query Problem. Copy from one Table to Another

    I have been advised to use the following code: strSQL = "" strSQL = strSQL & " UPDATE Tbl_Paint_Order_Parts " strSQL = strSQL & " SET Qty = ( SELECT Qry_Sum_Paint_Order_Parts.Qty FROM Qry_Sum_Paint_Order_Parts WHERE Tbl_Paint_Order_Parts.Part = Qry_Sum_Paint_Order_Parts.Part_No )" strSQL =...
  9. S

    what is "missing ).], or item in query expression '([St'."

    Go into every query, table, form etc that the form gets its information from see if the same error comes up.
  10. S

    what is "missing ).], or item in query expression '([St'."

    Whats the VBA code in the background?
  11. S

    Update Query Problem. Copy from one Table to Another

    This is my current code strSQL = "" strSQL = strSQL & " UPDATE Tbl_Paint_Order_Parts " strSQL = strSQL & " SET Qty = " & [Qry_Paint_Order_Parts].[Qty] CurrentDb.Execute strSQL
  12. S

    Update Query Problem. Copy from one Table to Another

    Ah sorry Ken didnt notice you had changed it! The new line of code gives me the error: Run-time error '2465': Microsoft Access can't find the field '|' reffered to in your expression.
  13. S

    Update Query Problem. Copy from one Table to Another

    Any ideas what it should be?
  14. S

    Update Query Problem. Copy from one Table to Another

    Hi, I simply want to copy the field Qty from Qry_Paint_Order_Parts to the field Qty in Tbl_Paint_Order_Parts where the records are joined by Part_No in both tables I use the following code: strSQL = "" strSQL = strSQL & " UPDATE Tbl_Paint_Order_Parts " strSQL = strSQL & " SET Qty =...
Back
Top Bottom