473,403 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

emails to Access Table

171 100+
Hi All
I am trying to import MS Outlook emails to a an access table using the access menu item External Data-More-Outlook Folder option.The body of the email imported to memo field but some message body are imported half only. It is not truncated 255 characters because I checked the length of the records in the memo field and some of them are more than 1000 characters.
Is there any other possible way to import all the text in message body without losing?
I wish to import all emails from my sent items and need the fields "to","sent on","cc","subject","attachment","message body"
Please help
Apr 24 '17 #1
4 940
NeoPa
32,556 Expert Mod 16PB
I'm afraid I can't be much help as my system complains that the wizard isn't correctly installed.

Let me start by clarifying for anyone else reading this though (and correct me if any of my comments are incorrect.) :
  1. You're using version 2010 or later.
  2. The actual command sequence is External Data -> Import & Link -> More -> Outlook Folder.

I would consider looking at the Linked Table option. Does it give you the same problem?
It would also help if you reported the largest length you see in your imported data. This is easily done by assigning the value to a string variable then printing Len(variable).
Apr 24 '17 #2
rajeevs
171 100+
Dear NeoPa
Thank you for the reply.Point 1 & 2 are correct. I have office 2010 and using the same command sequence.
I tried linked table also. But same result.
There is no consistency of truncating. That is not truncating after any specific length.
I have noticed the longest message is more than 3900 chr but that is truncated after 3900 chr. lesser length also truncates. I have searched for vba assistance, but couldnt find any suitable one. Please help
Apr 25 '17 #3
NeoPa
32,556 Expert Mod 16PB
I don't believe I can any further Rajeev, I'm sorry to say. As I said, my system doesn't allow me even to test with my own messages, let alone with yours.

Maybe you could identify, for each message that's truncated, the character immediately after the last that was carried through. If, as I suspect, that is a Null (vbNullChar or Chr(0)) then that would at least explain the behaviour. If that is the case then I'm afraid I have no real idea how you'd go about getting past it. The only idea of any remote help that I have is perhaps to use Application Automation in some way, but that could be a long road in itself.

I expect your best bet at this stage is to hope that someone else, with access to a system properly configured in this respect, comes in and has some viable suggestions for you.

Sorry I can't be more help, but good luck anyway.
Apr 25 '17 #4
rajeevs
171 100+
Dear NeoPa
Thank you for the reply. The truncate is happening even middle of the word, but after truncate the message body, it shows the signature text. That is why I said there is no way I can identify the reason.
May be someone can help with VBA script which can read all the sent mail items and write to Excel work sheet or Access table. I need to extract Sent Date, To, CC, Subject and mail body.
I will wait with a hope that someone else will be able to help me which I am sure will happen.Thank you for your willingnes to help me.
Regards
Apr 25 '17 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Vladimir | last post by:
Hello, I have a table in MS Access database. It has one field (with BYTE datatype) that has several properties set in Lookup tab of table Design View. Display Control = Combo Box. Row Source...
3
by: Phil Rutter | last post by:
Hello All, I have about 700 word documents that have 2 tables one is static 4 colums x 5 rows the other is 5 colums x rows ranging from 2 to 100 what i wolud like to do is open the word doc....
2
by: Fred | last post by:
Hi. How do I import while mapping an excel table to an access table please??? I've searched around and all I can find is a software product or code that does the same thing as the access...
4
by: JJ | last post by:
Hi, usually, I'm not using MS servers, but I have a big problem with a Access table. I should create a web application for a Historical Dipartment. They have created a populated a Access...
2
by: SenseForAll | last post by:
First please note I am a novice at VBA and not even that experienced with DAO/ADO and MS-SQL. Any assistance is appreciated. That said... I have an application written in Access w/ VBA. I need to...
5
by: premmehrotra | last post by:
I am using Microsoft Access 2000 and Oracle 9.2.0.5 on Windows 2000. When I export a table from Access to Oracle using ODBC I get error: ORA 972 identifier too long I think the error is because...
2
by: VMI | last post by:
I have a datatable with emplcodes and I need to extract, from my Access table, all records that contain an emplcode included in my datatable. In other words, I need to do a query that accesses a...
12
by: VMI | last post by:
For some reason, the process of retrieving data (about 20 records) from an Access table that has 400K records to a dataTable is taking over 3 mins. to complete. Below is my code to connect to the...
3
by: equalive | last post by:
Hi guys, I'm having problem locking a table in Ms Access using VB6 code. Actually I have 3 tables. Assume table names is A, B, C. Following is the process. 1. Open table A and update table...
4
by: jmalvika | last post by:
Hi all, I'm trying to generate an excel report from an ASP web page using .. "response.ContentType = "application/vnd.ms-excel" .... I need to add a custom header & footer to the excel...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.