Professional Documents
Culture Documents
This function will allow the Media Object table (F00165) to be opened based of the
Object name or datasource.
Syntax
Parameters
Parameter Notes Usage
hUser Input/Require User handle
pszDataSource Input/Not required If empty, use the default
datasource from the
pszObejctName. Datasource
has precedence over the
ObjectName.
pszObjectName Input/Not required Require if pszDatasource is
empty.
hRequestGT Output If open table fails, NULL
pointer will be returned;
otherwise a pointer to the
handle will be returned.
Return Value
Return Value Description
JDEDB_PASSED Return value if this API succeeds
JDEDB_FAILED Return value if this API fails
493192507.doc 1
jdeGT_OpenTable
Example
Sample #1: Using Datasource
jdeGT_CloseTable(hRequestGT);
JDB_FreeBhvr(hUser);
return;
jdeGT_CloseTable(hRequestGT);
JDB_FreeBhvr(hUser);
return;
Additional Notes
This API must be used first if the related functions are to be used.
This API is used for multiple access of the table within one function scope.
B9 January, 2002 2
jdeGT_OpenTable
See Also
B9 January, 2002 3