I get emails every day with leads. Usually I cut and paste each field into a form in access, but this has become very time consuming. I want to be able to just paste the lead into a text box and have access parse the content and add the lead to the database.
Leads come in the following format:
So I know I need to program a parser to read each line from the textbox and get the value for each field. Can someone point me in the right direction?
How do I begin reading each character in the text box, stop at a line break, get the value, and then continue?
I could swear I found a great example of this before on the board, but can't seem to find it right now.
Leads come in the following format:
Code:
DBA: Sample DBA Name
Legal_Name: Sample Legal Name
Physical_Address: 123 Any Street
City: Any City
State_Province: NV
Postcode: 5555555
Country: USA
Contact: John Doe
So I know I need to program a parser to read each line from the textbox and get the value for each field. Can someone point me in the right direction?
How do I begin reading each character in the text box, stop at a line break, get the value, and then continue?
I could swear I found a great example of this before on the board, but can't seem to find it right now.