Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / November 2007

Tip: Looking for answers? Try searching our database.

Problem with append query - memo field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nujcharee@googlemail.com - 29 Nov 2007 16:33 GMT
Hi
I have a series of queries, I have a number of temp tables which I use
as templates for my data.
I start with
1. Delete the data in a temp table
2. Use append query to fill the temp table with data

Now, in the temp table, I have a memo field. I append information from
a text column (Oracle DB) into the memofield in the temp table. For
some reason, only the first 255 characters copied across as if it
takes that column in the temp table as a text field.

Why is this and how to work around it?

Many thanks
Padthai
Rich P - 29 Nov 2007 18:33 GMT
I will guess you are connected to the Oracle DB using ODBC.  This is the
bottlenect.  With ODBC you wont get more than 255 chars.  To get around
this limitation you need to connect to the Oracle DB using ADO.

Here is a sample connection string you could try:

Dim cmd As New ADODB.Command, RS As New ADODB.Recordset
cmd.ActiveConnection = "Provider=OraOLEDB.Oracle;Data
Source=MyOracleDB;User Id=myUsername;Password=myPassword;"

Set RS = cmd.Execute("Select * From tblx")

Note that you will have to use PL Sql (Oracle sql) for the ADO command
text.  The nice thing about ADO is that it can translate PL Sql,
Transact Sql (ms Sql Server) and Jet Sql.  

Rich
nujcharee@googlemail.com - 30 Nov 2007 08:23 GMT
> I will guess you are connected to the Oracle DB using ODBC.  This is the
> bottlenect.  With ODBC you wont get more than 255 chars.  To get around
[quoted text clipped - 15 lines]
>
> *** Sent via Developersdexhttp://www.developersdex.com***

I am not familiar of ADO, only refer to ADO in asp file when I try to
connect to DB. How to do this in MS Access?
Thanks
lyle - 30 Nov 2007 08:49 GMT
On Nov 29, 11:33 am, nujcha...@googlemail.com wrote:
> Hi
> I have a series of queries, I have a number of temp tables which I use
[quoted text clipped - 12 lines]
> Many thanks
> Padthai

We might be able to tell you why, and what to do about it if you post
the SQL you use to append. There are several special situations that
result in this truncating behaviour but which one is causing your
difficulty? We are likely to have a much better idea if you show us
the SQL.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.