Concatenate

  • Thread starter Thread starter shank
  • Start date Start date
S

shank

I'm using Concatenate to assemble data in the query grid.
Problem: Results will only show 255 characters.
How can I display all characters which may be 1,000

thanks
 
Text fields in tables can only hold 255.
To show a concatenation of text fields in a query, use the follow:
NewField: [Field1] & [Field2] & ...... & [Fieldn]
in an adjacent field you can have the following:
COUNT: len([newfield])
to show you how many chars you have

HTH
Hafeez Esmail
 
I'm using the following function...

Ts: Concatenate("SELECT Field1 & ') ' & Field2 & ' - ' & Field3 FROM Final
WHERE [Final].[DNo] =" & Final.DNo & " ORDER BY [Final].[TNo]")

And the results are no longer than 255 characters.
How do I get all the characters to display?
thanks

Hafeez Esmail said:
Text fields in tables can only hold 255.
To show a concatenation of text fields in a query, use the follow:
NewField: [Field1] & [Field2] & ...... & [Fieldn]
in an adjacent field you can have the following:
COUNT: len([newfield])
to show you how many chars you have

HTH
Hafeez Esmail

shank said:
I'm using Concatenate to assemble data in the query grid.
Problem: Results will only show 255 characters.
How can I display all characters which may be 1,000

thanks
 
shank said:
I'm using Concatenate to assemble data in the query grid.
Problem: Results will only show 255 characters.
How can I display all characters which may be 1,000


That can happen if the query has to use the result field for
something such as GROUP BY, UNION, DISTINCT, etc.

If you can't spot the reason, post the query's SQL
statement.
 

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

Back
Top