PC Review


Reply
Thread Tools Rate Thread

Change Memo data type to Text data type

 
 
DS
Guest
Posts: n/a
 
      26th Jan 2005
A table within the data warehouse that I get my data from, contains a
field I need to use in "memo" data type. I need to use some of the
data from this table to make another local table.
Performing the make-table query is no problem. But when I go to use
the field, "Course Result", I get a bunch of gibberish. I know that by
changing the memo data type to text could cause truncation, but that is
not a problem in this case.
I know that I can manually go into the table that I create and change
the data type, but I need to be able to do it - if possible - during
the make-table process. Obviously, I cannot change the data type in
the data warehouse.
Is there a way that I can cause the memo data type to convert to text
when I perform the make-table query?
Any help is greatly appreciated!

Thanks!

 
Reply With Quote
 
 
 
 
Ken Snell [MVP]
Guest
Posts: n/a
 
      26th Jan 2005
The gibberish may be because you have Unicode Compression turned on for the
memo field.

However, if you're always going to need the table that you're making now
each time, why not just keep a permanent, *empty* copy of that table and
make the specific field a text data type in that table. Then, instead of
using a maketable query, use an append query to copy the data to the
permanent table. Run a delete query before you run the append query so that
you start with an empty table each time. After you're all done with the
data, you could run a delete query as the last step to empty that table for
the next time.
--

Ken Snell
<MS ACCESS MVP>




"DS" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>A table within the data warehouse that I get my data from, contains a
> field I need to use in "memo" data type. I need to use some of the
> data from this table to make another local table.
> Performing the make-table query is no problem. But when I go to use
> the field, "Course Result", I get a bunch of gibberish. I know that by
> changing the memo data type to text could cause truncation, but that is
> not a problem in this case.
> I know that I can manually go into the table that I create and change
> the data type, but I need to be able to do it - if possible - during
> the make-table process. Obviously, I cannot change the data type in
> the data warehouse.
> Is there a way that I can cause the memo data type to convert to text
> when I perform the make-table query?
> Any help is greatly appreciated!
>
> Thanks!
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Data Type from Memo to Text rscott927 Microsoft Access VBA Modules 3 9th Dec 2009 09:17 PM
Memo data type to text file. Paul Microsoft Access VBA Modules 2 30th Apr 2004 12:25 AM
Re: Memo and Text data type combined. Dirk Goldgar Microsoft Access VBA Modules 2 18th Sep 2003 09:12 PM
Re: Memo and Text data type combined. Tim Ferguson Microsoft Access VBA Modules 0 18th Sep 2003 07:35 PM
Re: Query which includes a column whose data type is memo type is crashing david epsom dot com dot au Microsoft Access 0 28th Aug 2003 10:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:42 PM.