geekhunter
New member
- Local time
- Today, 01:08
- Joined
- Oct 8, 2008
- Messages
- 1
Access 2002 question.
I have a linked table which auto-updates from the contents of a folder in Outlook. This is working just fine and the result is a table that I cannot edit but can query.
One of the fields in the linked table contains the subject of my emails as a text string. The emails in my case will have a very standardized subject line which can, I hope, be copied into an array so I can pull specific values and populate another table. I cannot change the format of this subject line as it is auto-generated from another 3rd party application.
The standard format of the subject field entry in the linked table would be something like "item1:item2:item3:item4" with the colon as a delimiter (again something I can't change).
I'd like to have the ability to separate say, "item1" and "item3" and have these values, along with other fields in the same email record, move to a second table for more refined editing, querying, etc. The other fields that I'll need are the date and time the email was received.
My resulting second table should mimic the first table like so.
Linked Table:
Field 1: "item1:item2:item3:item4"
Field 2: date from email
Field 3: time from email
Table 2:
Field 1: item1
Field 3: item3
Field 4: date from email
Field 5: time from email
One trick is that I'll need Table 2 to update when the Linked Table auto-updates with new emails.
Any suggestions and pointers would be greatly appreciated!
BTW: I'm new to access but I'd assume that you would create some kind of array from the subject string and then access the array to populate the fields? Since I'm new to access, I'm really not sure _where_ this kind of code would reside.
Thanks again!
Todd
I have a linked table which auto-updates from the contents of a folder in Outlook. This is working just fine and the result is a table that I cannot edit but can query.
One of the fields in the linked table contains the subject of my emails as a text string. The emails in my case will have a very standardized subject line which can, I hope, be copied into an array so I can pull specific values and populate another table. I cannot change the format of this subject line as it is auto-generated from another 3rd party application.
The standard format of the subject field entry in the linked table would be something like "item1:item2:item3:item4" with the colon as a delimiter (again something I can't change).
I'd like to have the ability to separate say, "item1" and "item3" and have these values, along with other fields in the same email record, move to a second table for more refined editing, querying, etc. The other fields that I'll need are the date and time the email was received.
My resulting second table should mimic the first table like so.
Linked Table:
Field 1: "item1:item2:item3:item4"
Field 2: date from email
Field 3: time from email
Table 2:
Field 1: item1
Field 3: item3
Field 4: date from email
Field 5: time from email
One trick is that I'll need Table 2 to update when the Linked Table auto-updates with new emails.
Any suggestions and pointers would be greatly appreciated!
BTW: I'm new to access but I'd assume that you would create some kind of array from the subject string and then access the array to populate the fields? Since I'm new to access, I'm really not sure _where_ this kind of code would reside.
Thanks again!
Todd