Character limit in query field Access 2013

kyleno

Board Regular
Joined
Jun 9, 2014
Messages
61
I am trying to take a text string that will be used as a query in Access from an Excel cell and paste it into a criteria field in query design view in Access. Some of my queries will be lengthy so in Excel I have a character length formula warning me if I go over the character limit in Access.

I found a source stating that "Number of characters in a cell in the query design grid: 1,024". However, when I paste a query from Excel that contains 1,023 character I receive an error stating that "A string can be up to 2048 characters long".

I guess for now I will just keep trimming my query length until it works and document the number.

If anyone has any ideas they would be greatly appreciated.

Please and thank you.

~ Ky
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,216,077
Messages
6,128,673
Members
449,463
Latest member
Jojomen56

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