Solved

Create a Memo field using a Make-Table query

Posted on 2006-11-18
3
240 Views
Last Modified: 2008-02-26
I am trying to use a make-table query to concatenate 8 text fields from an original table into a memo field in the new table.  Unfortunately, Access wants to create this new field as a Text type.  Even after going into Options > Tables/Queries > Default text field: memo, Access still wants to create the new field as Text.  There has been a similar question posted on Experts Exchance that was never technically resolved.  Anybody know how to do this effectively?
0
Comment
Question by:VEIC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
Leigh Purvis earned 250 total points
ID: 17971865
Personally, if I had such a precise need, I'd likely create the definition of the new table first and then just append the records into it.

Is the table from which you're selecting a local Jet one?
(i.e. you're familiar and in control of it?)
Then you're in a position to create the new table too?

If you wanted a quick cheat you could run a make table then an append - with a little DDL statement inbetween.
Roughly...

With CurrentDb
    .Execute "SELECT * FROM tblOld INTO tblNew WHERE 0"
    .Execute "ALTER TABLE tblNew ALTER COLUMN MemoFieldName MEMO"
    .Execute "INSERT INTO tblNew SELECT * FROM tblOld"
End With
0
 

Author Comment

by:VEIC
ID: 17971971
Thank you kindly!
0
 
LVL 44

Expert Comment

by:Leigh Purvis
ID: 17971977
Ah - a favourite phrase of mine (was a fan of Due South).

You're most welcome. :-)
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question