Name | Type | Size |
Importance | Number (Long) | 4 |
Message Class | Text | 255 |
Priority | Number (Long) | 4 |
Subject | Text | 255 |
From | Text | 255 |
Message To Me | Yes/No | 1 |
Message CC to Me | Yes/No | 1 |
Sender Name | Text | 255 |
CC | Text | 255 |
To | Text | 255 |
Received | Date/Time | 8 |
Message Size | Number (Long) | 4 |
Body | Memo | - |
Creation Time | Date/Time | 8 |
Last Modification Time | Date/Time | 8 |
Subject Prefix | Text | 255 |
Has Attachments | Yes/No | 1 |
Normalized Subject | Text | 255 |
Row Type | Number (Long) | 4 |
Instance Key | OLE Object | - |
Object Type | Number (Long) | 4 |
EntryId | OLE Object | - |
Depth | Number (Long) | 4 |
Content Unread | Number (Long) | 4 |
|
Decoding the data
Let's skip ahead to when a number of users
have filled in the response form and, as a result, sent you e-mail that
now resides in the linked Exchange folder (in my example, this folder is
called SoftwareDownloads). With the data received, you need to decode the
messages.
You'll have one entry in your linked table for each message you've received.
For this exercise, the only field in the table that you're interested in
is called Body (a memo field). An example of what you might receive is shown
in Table 2.
Table 2.
The Body field from a linked Exchange table.
Received | Message size | Body |
27/09/98 12:10:31 PM
|
678
|
Username=Terry L. Farmer UserE-mail=tfarmer@millicent.com UserCompany=Millicent Pty Limited UserCountry=USA UserComments=learning about data mining and helping analyze trouble ticket data Search=web search via infoseek |
I created a form called FX_ExtractBody that reads this table and decodes
the data in the Body field. FX_ExtractBody is a one-button form that parses
the data using the code that follows. The code creates a recordset based
on the linked Exchange table for input and, as the data is parsed out, updates
another recordset. The form displays each record before it's posted to the
new table, so that you can manually confirm that the user details are worth
adding.
|
|
UserName | UserCompany | UserCountry | UserE-mail | E-mailSent |
Garry Robinson | GR-FX Pty Limited | Australia | access@gr-fx.com | Yes |
M Derrick | AM Ltd | UK | derrek@parkview.com.uk | No |
Shane Warner | Lucky Co | USA | tlwarner@luckyco.com | No |
Terry L. Farmer | Millicent Pty Limited | USA | tfarmer@millicent.com | No |
|