realbasic-nug
[Top] [All Lists]

Re: AddressBook

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: AddressBook
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Mon, 28 Feb 2005 19:09:41 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050228210133 dot DCDB7769625 at lists dot realsoftware dot com> <b1bb14210eba2a3e4e9f1e7989481456 at elfdata dot com> <e1b332b5736c36a1c15a2c804bcf5413 at elfdata dot com> <42238F0E dot 1020409 at rovosoft dot com> <a06200722be49451502a6 at [10 dot 10 dot 13 dot 4]> <422398A5 dot 6060206 at rovosoft dot com> <b4f8aa50e52e3b004a492685198f1e96 at wabbitwanch dot net>

On Feb 28, 2005, at 6:18 PM, Mel Patrick wrote:
    data=Contacts(i).Addresses

This could return nil if the contact has no addresses.

(Snip)
    j=Contacts(i).PhoneNumbers.Count

PhoneNumbers could also return nil if there are no phone numbers.

    j=Contacts(i).EmailAddresses.Count

EmailAddresses could also return nil if there are no email addresses.

Everything else looks good.

HTH,
Jon


--
Jonathan Johnson
REAL Software, Inc.

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>