Link to home
Start Free TrialLog in
Avatar of Jaime Bonilla
Jaime BonillaFlag for United States of America

asked on

How do I indicate the field types when creating a new table while using an MS Access Make Table Query?

I am trying to create an Access table by using a make table query that contains an expression to build a concatenated data field.  The expression uses the Dconcat function created by Patrick Matthews which is very helpful for putting together the data into one field, but the problem is that the data being concatenated sometimes goes over the 255 characters limit that is created by default when the make table query runs.  I need to know how to indicate in the query to make the field be of "Memo" type instead of the "Text" type that gets created by default so that the data will fit in the field as needed.  Any assistance with solving this problem will be greatly appreciated.  Thanks! DConcat-SampleData-jb.accdb DConcat-SampleData-jb.accdb
ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To add to Peter57r's excellent answer, the table can be persistent.  Instead of using a Make Table, keep a table with the structure you want.   Each time to you need to use it, run a Delete query to clean out all the records, then reload them with an Append query.  This will keep your structure correct.

Cheers,
Armen
Avatar of Jaime Bonilla

ASKER

I did change the query to an append query as suggested and it resolved my problem.  I greatly appreciate the advice.

Thanks!