Formula in a Query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Are there any restrictions while entering Expressions into a Query.

ie. character length or a certain amount of functions per column

Travis
 
Are there any restrictions while entering Expressions into a Query.

ie. character length or a certain amount of functions per column

Yes. See "Specifications" in the online help:

Number of characters in a cell in the query design grid 1,024

Number of characters in an SQL statement approximately 64,000

To avoid hitting this error, step back and reanalyze your problem: if
you need an expression over 1024 characters long, there's GOT to be a
simpler way! For instance, if you're doing a complicated nested IIF(),
consider using a table-driven solution joining another table into the
query, rather than embedding a lot of values into the expression.

John W. Vinson[MVP]
 
Are there any restrictions while entering Expressions into a Query.

ie. character length or a certain amount of functions per column

Travis

See Access Help:
Specifications + Access Specifications + Query
 
Thanks you. I tried using the online help before using this but I didn't know
what to look under. But "specifications" will help.
Thanks again.
Travis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access #Error & Excel Pivot 0
Access Query problem 1
Calculation Trouble 10
Calculations in a Form 5
Creating a Text File Output 4
Formula in Query 5
concatenate function max characters? 4
Suming different types in a query 1

Back
Top