Error performing UPDATE query

Kemidan2014

Board Regular
Joined
Apr 4, 2022
Messages
226
Office Version
  1. 365
Platform
  1. Windows
I created a temporary table using a Make Table query called "Sorttotals" this table using math functions to fill in missing values in a field that should have been filled out in all the records in "ShiftNotestbl"

Trying to perform a simple UPDATE query to update fields "Total" and "Total_b" in Shiftnotestbl to the values of the same field in table "sorttotals" i linked the IDNum fields of the tables together so that the values get placed in the correct record. I recieved a Cannot Join on Memo.. error.

I confirmed that in each table the field TYPE matches so I am not understanding why this update query is faulting.


1690547648102.png
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
What is the data type of each field you are trying to join on?
Are the two objects you are joining on both Tables or Queries?
If they are Tables, are these native tables in Access, or are they linked in from somewhere else?
 
Upvote 0
IDNum fields are Long Text
and fields Total and Total_b are Number

Table Shiftnotestbl is a linked table in the back end database
and Table Sorttable is temp table i created in the front end copy i am working in.
 
Upvote 0
IDNum fields are Long Text
and fields Total and Total_b are Number

Table Shiftnotestbl is a linked table in the back end database
and Table Sorttable is temp table i created in the front end copy i am working in.
You cannot join on Long Text (Memo) fields, as the error message tells you.
How long are these fields?
Is there a reason you are not using the normal Text data type (which allows up to 255 characters)?
 
Upvote 0
Solution
i was not aware Long text is considered memo.

Not long at all its a 4digit year with hyphen and up to 6 digit number what it looks like the previous creator is doing is simply making a new number using the autonumber field native to the access table and slapping the year the sort was created in front of it with no reset as year changes and using this new IDnum field instead of the autonumber field to serialize
 
Upvote 0
Change the data type to Text, and then try again.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,956
Members
449,096
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top