Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / October 2004

Tip: Looking for answers? Try searching our database.

Importing Contacts

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard - 28 Oct 2004 04:31 GMT
Whenever I import a contact, no matter what it always displays as default
"Last, First". (even though I have mine set to First Last) I imported my
work contacts list now I have a mess with hundreds of contacts. I want them
displayed as "Company (Last ,First)" or "First Last" I was in another group
and was directed here
http://support.microsoft.com/default.aspx?scid=kb;en-us;291144
I did exactly as directed, twice I copied and pasted the code in but when I
open the form I get a  "Script Error" Syntax error line1" when I close the
error my form opens, I click a button and nothing happens. what do I do, Is
there another way to change more than one at a time file as field?
Richard - 29 Oct 2004 13:49 GMT
Well, I figured out the code, the form works fine, now is there a way to
tweak it so I can have "Company (First Last)  instead of the Company (Last,
First)?
> Whenever I import a contact, no matter what it always displays as default
> "Last, First". (even though I have mine set to First Last) I imported my
[quoted text clipped - 6 lines]
> error my form opens, I click a button and nothing happens. what do I do, Is
> there another way to change more than one at a time file as field?
Sue Mosher [MVP-Outlook] - 29 Oct 2004 14:02 GMT
If you want to change the FileAs property for imported contacts, you need to
be aware that FileAs is a little quirky. What you see in the contact item as
Full Name (Company) is actually stored as "Full Name" & vbCrLf &
"Company" -- with no parentheses in sight. See
http://www.outlookcode.com/threads.aspx?forumid=3&messageid=7833 for a
discussion and example of this issue.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Well, I figured out the code, the form works fine, now is there a way to
> tweak it so I can have "Company (First Last)  instead of the Company
[quoted text clipped - 15 lines]
> Is
>> there another way to change more than one at a time file as field?
Richard - 30 Oct 2004 01:38 GMT
the parentheses I wrote is how I see it in the contacts File As drop down
menu. I am thinking there is no way for me to make the code work for- File
As; Company First Last because the original form has it as Company Last,
First?
is there a way to see the code of the original outlook Contacts form?

> If you want to change the FileAs property for imported contacts, you need to
> be aware that FileAs is a little quirky. What you see in the contact item as
[quoted text clipped - 22 lines]
> > Is
> >> there another way to change more than one at a time file as field?
Sue Mosher [MVP-Outlook] - 30 Oct 2004 02:04 GMT
No, you can't see the internal workings of any Office program.

There's no reason you can't code FileAs to equal what you want, either in
code behind a custom form for new items or in import code. You just have to
keep in mind what I pointed out earlier -- that if you want it to work
right, you don't use parentheses but instead use a CR/LF between the two
elements that you want to separate.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> the parentheses I wrote is how I see it in the contacts File As drop down
> menu. I am thinking there is no way for me to make the code work for- File
[quoted text clipped - 10 lines]
>> http://www.outlookcode.com/threads.aspx?forumid=3&messageid=7833 for a
>> discussion and example of this issue.

>> > Well, I figured out the code, the form works fine, now is there a way
>> > to
[quoted text clipped - 20 lines]
>> > Is
>> >> there another way to change more than one at a time file as field?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.