GetQMFObjectListEx()


" "

short GetQMFObjectListEx(BSTR Owner, BSTR Name, short Type, short Index)

Description

This function returns the name of the QMF objects matching the patterns specified in the Owner and Name parameters referenced by the Index parameter. After calling this function, the Value property can be interrogated for the returned value.

Parameters

Name Description
Owner A string specifying the owner of the objects that you want to include in the returned list.
Name A string specifying the name of the objects that you want to include in the returned list.
Index The index of the list of QMF objects that match the pattern.
Type

Specifies the types of QMF objects that you want to include in the returned list. These values can be added together to specify multiple object types:

2048 (RSQ_MASK_QUERIES) -- Include QMF queries in the list
1024 (RSQ_MASK_FORMS) -- Include QMF forms in the list
512 (RSQ_MASK_PROCS) -- Include QMF procedures in the list
256 (RSQ_MASK_TABLES) -- Include tables in the list

Return Value

The return value will be zero, if successful and non-zero if unsuccessful. If no matching QMF objects are found, the return value is RS_ERROR_OUTOFRANGE. If the return value is non-zero, you can call GetLastErrorString(), GetLastErrorType(), GetLastSQLCode(), GetLastSQLError(), or GetLastSQLState() to get additional error information.