Link to Foxpro: memo fields access failure
I try to select some fields from FoxPro table via ODBC Generic Connectivity.
I can select all fields, except Memo (Oracle translates them as LONG)
select "Memofield" from table@foxpro
return error
[Generic Connectivity Using ODBC] (SQL State: 00000; SQL Code: 1346895872)
How can I select this fields?
Sergey Lupashko
Hi Lori,
Based on my test, I can reproduce the error in my environment. When the data type of input column is [DT_STR], while the output column is [DT_TEXT] (varchar(max) column is treated as DT_TEXT column in SSIS), the SQL Server Destination would be failed.
To fix this issue, please refer to the following methods:
Use OLE DB Destination to replace the SQL Server Destination.
Add a Data Conversion Transformation before the SQL Server Destination. Then convert the data type from “string [DT_STR]” to “text stream [DT_TEXT]” in Data Conversion Transformation Editor.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Similar Messages
-
I have a data cluster that I am working to write to either Access 2007 thru 2010 and/or SQL Server Express 2008 thru 2012 all on a Windows 7 64 bit OS. Some of the elements are long strings that I put delimited data for the raw trace data. The fields can be 10's of KB long. With Access I cannot stuff any string >255char into the memo field. With SQL Server Express 2008R2 - 2012 I found that if the strings are >32767 they again fail to fill the memo fields. The Access write or reads work fine otherwise, just not the listed offending fields in the cases mentioned. Anyone else having the issue or a solution?
If the long string field has repetitive data, you might be able to compress it using GZIP to reduce it's size below the 32K limitation you mentioned.
GZIP compress/uncompress of string using .NET
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness -
Access Memo Fields to Oracle 8.0
I am converting an MS Access application to Oracle 8.0. The MS
Access application has tables with multipe "Memo" fields some
over 6000 characters long. Oracle will only allow one "Long"
field per table. How can I get around this? what is the VARCHAR2
maximum length now in 8.0?
nullMichael,
Apologies for taking so long to get back to you.
The situation is as follows :
Length of VARCHAR2 in Oracle 8.x is 4000 characters.
The solution would be to use LOBs. Unlike LONG columns from
Oracle 8.x onwards you can have any number of LOB columns in
a table. The size of each LOB could be upto 4GB, if my memory
serves right. LOBs could be either External or Internal meaning
you can store them either inside the database or as file on the
file
system but under the database's transactional control.
Advantages of LOBs are you can replicate them, index them
using the context option.
Regards,
Marie
=====
Michael S. Kenny (guest) wrote:
: I am converting an MS Access application to Oracle 8.0. The MS
: Access application has tables with multipe "Memo" fields some
: over 6000 characters long. Oracle will only allow one "Long"
: field per table. How can I get around this? what is the
VARCHAR2
: maximum length now in 8.0?
Oracle Technology Network
http://technet.oracle.com
null -
DTS Import of MDB in SQL Server 2000 Drops Memo Field Data
I have used DTS in SQL Server 2000 to import an MDB filed (MS ACCESS) of a table. When the table is imported the primary key is lost and the memo field data is completely gone.
I use the tranformation option in the DTS wizard to add the primary key and make sure the data type for the memo field is varchar and has a size of 8000. I need that large size since I am storing lots of html code.
When I preview the data I see the html code that is supposed to get imported. However, when I return all rows from the table in Enterprise Manager the field is empty.
So I tried to manually copy the data from the MS Access Database into SQL Server. Could not figure out if SQL Server has an interface like MS Access to simply copy data into a table. So I linked to the tables from MS Access to the SQL Server table.
When I opened the linked table I see the data in the description field. However, if I return the rows from within SQL Server no data is present.
I have some ASP code trying to read the data in the SQL Server table. However, nothing is returned and when I run the SQL Statement, nothing gets returned. The SQL statement returns all rows. All the other data is present but nothing in the description field.
What am I doing wrong? Any suggestions anyone, please!
TIAIt is important to know the version of MS Access. I will recomend you to use nvarchar datatype instead of varchar. May be the description field contain unicode characters.
Refer this link to understand more on datatype mapping between access source and sql server destionation.
http://blogs.msdn.com/b/ssma/archive/2011/03/06/access-to-sql-server-migration-understanding-data-type-conversions.aspx?Redirected=true
Regards, RSingh -
I have a table in MS access with a memo field. Everything the
user inputs in the field is recorded in the table. When I try to
output the memo field I am on getting part of the field. Attached
is the code for displaying the data from the acty_comments field.
Also below is the actual data that is in the field. Can anyone tell
me what is going on.
Thanks
Actual Data:
"The answers to the questions are below in italic magenta.
The answers reiterate FAR sections. As they are parts of
published regulations, there is no sense in referring to them
""official GSA policy"" as if there is some other authority for the
informa
- here is where it stops-
- here is what should be next
tion.
Ask Acquisition is a convenience service of the Office of
Acquisition Policy; not as an avenue for policy decisions. If they
need a formal response from the Office of Acquisition Policy, you
will need to send any formal inquiries to
- more data -are you using GROUP BY? or aggregating in some way? using
DISTINCT?
There is a limitation in Access if so.
I know there is a M$ technote somewhere, but I can't find it
right now.
Here's a link that might help
http://allenbrowne.com/ser-63.html
Tim Carley
www.recfusion.com
[email protected] -
Problems displaying rtf memo fields
Post Author: Davidm
CA Forum: General
We use Crystal Reports X to run reports on an Access database with a significant number of rtf memo fields. We use Total Access Memo to allow extended use of rtf within Access as our users require the additional formatting capabilities that this offers.
However, there are considerable problems displaying items like bullet points, tables and hyperlinks in the Crystal Viewer with tables in particular coming out in a real mess with all entries in the table being displayed in a list with a small square marking each cell at the end of each line.
Curiously, if you preview the report in the full version of Crystal X, it appears a bit better with the hyperlinks still underlined (bullet points still vanish) and rows in rtf tables are at least presented as a row even if the columns are not ordered and mixed (with no bounding cells visible).
Firstly, is this disparity of end result between full Crystal X Print Preview and the Crystal X Viewer fixable?
Secondly, is the limited handling of rtf tags likely to be solved in the next release of Crystal?Hi Mathias,
If I caught you correctly, you want to display data in Adobe forms in form of tabel, right?
So, follow the steps:
1. Insert one sub form on your adobe form.
2. Set its type as "flow content" in object->subform property.
3. Set flow direction as "Table".
4. Insert another subform inside this subform.
5. set its type as "flow content" and flow direction as "Table row".
6. Now, choose binding tab, and there check "repeat subform for each Data item check box" and specify min. count for your rows.
7. Now, insert your column fields inside this sub form once.
8. Format its look and feel as you want.
When you run this application, it will show you multiple data as table on Adobe form.
Regards,
Bhavik -
I have a web site that builds pages based on content in an
Access DB. One of the fields is MEMO and contains body copy for the
page (usually 300-400 words per record). This bodyCopy field is
HTML tagged IN the record (in case that matters). So I import the
whole database into SQL. Fine. The pages display ok - All the data
in the bodyCopy field is STILL in there, I can see it on the
webpages. BUT, I cannot see, or edit the cells in SQL Enterprise
manager. If I add a new record similar bodyCopy pastes are
truncated. SQL converted the MEMO field to ntext(16). I have tried
text(16) and nvarchar(8000) with the same results. I need to be
able to edit the existing cells, and input similarly sized data
chunks in with new records...
Can anyone shed some light on this issue?SQL is a bit different in managing the data directly than
Access was.
ntext should be fine for any previous memo fields.
If it tells you that you cannot edit the cells, it is usually
because the Key has not been defined. Importing from Access will
bring in all your data, but it won't necessarilly apply the Key
identifier. Without a key it won't let the data be edited, at least
not directly.
If it is showing up in the web page OK then the data would
not appear to be truncated, just not all viewable in the SQl
listing. If you try to enter too much data into a field in SQL it
usually will simply refuse to do it.
Have ou tried connecting to the SQL server via Access (ADP)?
If you have been used to Access all this time, it can be a really
nice way of working between the two and gives you a familiar way of
doing things. -
Problem with memo field displaying
I have a table in MS access with a memo field. Everything the
user inputs in the field is recorded in the table. When I try to
output the memo field I am on getting part of the field. Attached
is the code for displaying the data from the acty_comments field.
Also below is the actual data that is in the field. When I copy the
contents of the field to a word document and run word count I get
4,680 word. Can anyone tell me what is going on.
Thanks
Actual Data:
"The answers to the questions are below in italic magenta.
The answers reiterate FAR sections. As they are parts of
published regulations, there is no sense in referring to them
""official GSA policy"" as if there is some other authority for the
informa
- here is where it stops-
- here is what should be next
tion.
Ask Acquisition is a convenience service of the Office of
Acquisition Policy; not as an avenue for policy decisions. If they
need a formal response from the Office of Acquisition Policy, you
will need to send any formal inquiries to
- more data -What is the value of the
Long Text Buffer advanced setting for your Access data
source in ColdFusion Administrator? And/or is CLOB enabled?
Phil -
Is there a way to load 'memo' fields in bw cubes .
for eg ; in r/3 we have places where we can type
text that are quite long ( above 255 characters )
is there any way we can load these texts into BW ?Hi,
Have a look at the following links.
/people/sap.user72/blog/2006/06/05/long-texts-in-sap-bw-displaying-in-bex-analyzer-introduction-to-excel-workbooks-formatting-part-i
/people/sap.user72/blog/2006/06/03/long-texts-in-sap-bw-modeling-150-follow-up
Regards. -
What is the max characters memo field can hold on crystal Xi?
Post Author: chulheekim
CA Forum: General
Can anyone help me with memo field that I have on crystal XI?
I see only about 200 characters on a memo field.
what is the max characters memo field can hold on crystal XI?
I've got to bring this answer to the meeting tomorrow morning. I'm doomed.Hi Umesh,
as for as i know SAP PO system can handle the file till GB also but this will be based upon your system resources and configuration as well.
Please find the below link for further information.
http://scn.sap.com/community/pi-and-soa-middleware/blog/2010/10/18/pixi-pi-73-processing-of-large-files--teaser
Regards,
Naveen -
Data type memo in access - help pweesseee...
i know access is stone age but i can't migrate db for apparent reason.
just how can i read memo datatype in access null is being being return
when using rs.getstring("memofield");
is there a other way? or how can i update my driver? or i search the forums about memo datafield it said by using byte or ascii but i don't know how.
some help be greatly appreciated. thanx!I presume you are accessing it over JDBC-ODBC?
There are a few pitfalls I remember
1 - the memo field must always be the LAST thing you select in a query
2 - it often won't work if your query has a join in it.
Try just a query to "select memoField from myTable where id = ?" and see if it retrieves it that way. -
I am trying to determine if it is possible to find out who updated a column field like the function ColumnHistory() shows the history. I would like to see which user made the changes in the ColumnHistory(). Is it possible to do this?
Routines to log changes to data tend to make use of the AfterUpdate event. However, this does not in itself mean that any change has been made to the values of the data. You'll find an example of one which does so, however, as ChangedRecord.zip
in my public databases folder at:
https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
This little demo file calls the Windows API GetUserName function to return the current user's Windows login-in name, and includes code in two modules which determines (a) if data in a record has actually changed rather than simply been updated and (b) if data
will change, in order to get user confirmation to save a record. The former would apply in your case.
In my demo it is the whole record which is examined for changes, not just a particular field, so some small modification of the code would be required to limit it to one field. I can confirm that it does work with a memo field per se, though whether this
will be true in the case of fields containing very large amounts of text I can't honestly say without testing it. You can easily do so by adding a memo field to the Contact table in my demo, and including a control bound to this in the form. Then
paste in a very large block of text into one record via the form. If it successfully detects the insertion as a change, then make a small amendment to the text and see if it detects that. I see no reason why it shouldn't, but without empirical
evidence I wouldn't bet the farm on it.
Ken Sheridan, Stafford, England -
How do you load Memo fields in Foxpro to Oracle using the SQLoader.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by nasifA:
How do you load Memo fields in Foxpro to Oracle using the SQLoader.<HR></BLOCKQUOTE>
I have the same problem, if the memo field isnt too large you can create a table with a field for the key and a field for the text with 80 characters, then you create a program to split the memo field into this table taking for a memo field as much as records needed in the table, you create a table with the same structure in Oracle and uses the sql-loader to load this table and then write a pl-sql code to append the text into the corresponding record in the final oracle table.
null -
How do I find out a BDT view that is linked to a particular field in BP
Hi,
In the BP screen, if say I want to find which BDT view is linked to the screen field, how can I do so?
Regards
PriyankaHi Satyendra,
Thats fair enough. I have been able to trace the field in this way but I am facing a problem which forces me to think that I might be concentrating on an all together wrong view.
See the field I need to work on is Grouping(this appears on the top right corner when you try creating a new BP). The texts for grouping come from table TB002-TXT40. Now this is in field group 2, which is in view BUP020.
I need to set a default value for this field. For this I have modified the PBC linked to this view's screen. But the change does not come into effect.
Any idea???
Regards
Priyanka -
Displaying an error message with a link to the error field
By default, ADF validation usually displays an alert with an error message and a link to the error field.
I have some custom validations where I finally display the error message with this:
public static void MessageError(String messageText){
//String messageText="No se han encontrado estos datos";
FacesMessage fm = new FacesMessage(messageText);
* set the type of the message.
* Valid types: error, fatal,info,warning
fm.setSeverity(FacesMessage.SEVERITY_ERROR);
FacesContext context = FacesContext.getCurrentInstance();
context.addMessage(null, fm);
My customer is asking for displaying a link to the error field in this kind of error alerts as standard errors do.
Is there any way to get this ?Can't you include this in your message?
You may want to check Duncan's blog https://blogs.oracle.com/groundside/entry/get_more_from_your_messages whichgives more inside on what you can do
Timo
Maybe you are looking for
-
How do I get Face Time to show my new Apple ID instead of my old one?
I changed my internet provider and therefore had to change my Apple ID - not an easy straightforward thing to do. I had to contact Apple a Support and get it straightened out. However, I cannot use FaceTime as my old Apple ID (previous email) pops up
-
Missing Functionality - Reconciling payment made against downpayment requst
Hi All, I have the following scenario as supplied by the support team for downpayment requests: 1. Create downpayment request. 2. Create outgoing payment based on downpayment request. 3. Process AP invoice. When i attempt to reconcile the payment to
-
Adobe Media Encoder. Poor FLV Quality
Greets, I'm using Adobe Media Encoder (AME) to output a CS4 Premiere Pro project at 515x240. I created a custom "Desktop" Premiere project setup with 515x240 and square pixels. That project previews look fine. The preview in AME looks fine. The outpu
-
How to hide BEx reports in archive folders
Hello experts, Need your advice, we currently have several reports that we want to phase out gradually, but want to keep available in case users would want to use in the few months ahead. Can you please help confirmif possible to move BEx reports fr
-
Opening Freehand files in Illustrator
Can I open Freehand MX files in Illustrator CS3? Thanks, Joze