I've had some experience with importing other text file based stuff from 
external applications, mainly vCal (.vcs) files.  Basically it requires a 
lot of parsing.  You loop line by line through the text file pulling out the 
data you want.  Get friendly with functions like SpanExcluding, Left, Right, 
Mid, and RemoveChars.  For example:

<cfset line = SpanExcluding(yourtextfileasastring, Chr(10) & Chr(13))>

....will give you a single line of text with the linefeed and carriage return 
removed.  Then you do Find(textyourelookingfor, line) to see if that line is 
something you need.  Finally parse out the name, address or whatever using 
Left, Right, Mid or RemoveChars, and insert into your database.

HTH,
Josh



----- Original Message ----- 
From: "Karl Simanonok" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Wednesday, March 22, 2006 6:10 AM
Subject: Outlook Address Book Importing


> Can anyone point me to some decent starting code for importing Outlook
> address books into a database?  TIA
>
> Regards,
>
> Karl S.
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.1.385 / Virus Database: 268.2.5/284 - Release Date: 3/17/2006
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235972
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to