atDbLookup (ODBC)

atDbLookup (ODBC)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This ODBC method uses data source information to locate a specified column, and then fetches all rows from the specified column in the given data source matching the given condition.

Availability

This method is available in the following object models: Microsoft® Outlook®, Collaboration Data Objects (CDO), and Microsoft ActiveX® Data Objects (ADO).

Syntax

Variant = atDbLookup (ODBC)
(

    KeywordString As String, DataSourceName As String, UserIds, Passwords, Table As String, Column As String, NullHandling As String, KeyColumn As String, KeyValue, [DistinctSort]
)

Remarks

This method returns a String, a number value (Integer or Long data type), a Date value, or an array of any of these types.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.