Page 3 of 3 FirstFirst 123
Results 31 to 35 of 35
  1. #31
    MPXJohn is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    58
    Same error.

  2. #32
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    I just tested this again and it works. I created 2 tables with the field you had in your attachment and when I run this in a query window, it updates the ItemDes with AssemblyName when it finds records based on the Like statement. If you can test putting data in the field, take out the Like command and put in a specific value such as WHERE (((ProductionData_Main.ItemName) = "006-2024-1.0 REV 5")); If that works then it is something with the Like part.


    UPDATE ASSEMBLY, ProductionData_Main SET ProductionData_Main.ItemDes = [ASSEMBLY].[AssemblyName]
    WHERE (((ProductionData_Main.ItemName) Like "*" & [ASSEMBLY].[AssemblyName] & "*"));

    Sorry but if this does not work, I'm out of ideas. Maybe someone else can resolve or see what the problem is.

  3. #33
    MPXJohn is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    58
    Thanks Bulzie. Can you clarify one thing though. You keep saying 2 TABLES. But remember, I discovered I have to use one table & one query. Will that make a difference?

  4. #34
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Possibly, can you run that query to get records and manually change a value to see if it lets you.

  5. #35
    MPXJohn is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    58
    So I created a table from my query so I was working with 2 tables. Here is what is in SQL sheet:

    UPDATE ASSEMBLY, ProductionTable
    SET ProductionTable.ItemDes = [ASSEMBLY].[AssemblyDescription]
    WHERE (((ProductionTable.ItemName) Like "*" & [ASSEMBLY].[AssemblyName] & "*"));

    I had to change some names. I have also attached the design view of the query. This may be our last straw.
    Attached Files Attached Files

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 03-31-2016, 03:17 PM
  2. Replies: 5
    Last Post: 01-18-2016, 07:56 AM
  3. Replies: 3
    Last Post: 05-21-2015, 11:26 AM
  4. Query field based upon dates in other fields
    By Demiurgous in forum Queries
    Replies: 8
    Last Post: 11-03-2014, 12:56 PM
  5. Replies: 11
    Last Post: 06-13-2012, 08:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums