+ Reply to Thread
Results 1 to 2 of 2

If Dictionary Exists

  1. #1
    Forum Contributor
    Join Date
    07-23-2006
    Posts
    185

    If Dictionary Exists

    I need an If statement that is TRUE if a Dictionary Object I am using is populated.

    However I am having trouble creating a conditional statement for it.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Isn't helpfull

    Do I have to test for a specific key or can I test for "any" key.

    Thanks.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    From Help:
    Exists Method

    Description: Returns True if a specified key exists in the Dictionary object; False if it does not.

    Syntax: object.Exists(key)

    object: Required. Always the name of a Dictionary object.
    key: Required. Key value being searched for in the Dictionary object.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1