Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Developers    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Convert Uniform Outlook Template to Access Tables
Gilbert Alphin 
     
17 months ago
Hello Richard Rost

I have several hundred Outlook emails created by one personal email template.

I have imported the emails into an Access Database. Lots of valued information. The body of the email is in uniform template form. That field is stored as long text. There are 17 lines, less than 75 characters in length. Each of these lines in this one long text FIELD I wish to place in a table with 17 fields.

In short, I'm coverting / breaking a long text field into a one table with 17 fields.

Is this possible? Sincerly, Gilbert Alphin, Kure Beach, NC    Gold Member.
Thomas Gonder  @Reply  
      
17 months ago
That's going to be a long and interesting TechHelp.
Gilbert Alphin OP  @Reply  
     
17 months ago
Thank you for your response.

I've worked with "String" functions before. When importing Outlook emails into Access, the Wizard of  Import works great. It delivers 4 short text fields and one long text field. The long text field is where the uniform templete data is returned as "Content" field name.

How do I set a long text field to a single vba variable? I error with DAO recordset > Dim longT as Long, LongT = rs!content.

Once I have the variable longT equal to one of the complete records of former email template , I should be able to work with the various access string functions. Then, in a new access table, set each field to a 75 length text field. In all, 17 or more short text fields.                

Thanks again for your response, Gilbert Alphin
Matt Hall  @Reply  
          
17 months ago
I think Long is a long integer.  You need a string.
Gilbert Alphin OP  @Reply  
     
17 months ago
Thanks for the information, Long is "Long Integer". For now, I cannot find any information on Dim Lt as "Long Text".
Kevin Robertson  @Reply  
          
17 months ago
Thomas Gonder  @Reply  
      
17 months ago
Dim longText As String

There is a limit of about 2 billion (2^31) characters in VBA

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developers.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 8/7/2026 11:59:26 PM. PLT: 0s