edmiGetQuerySchema
EdmiError edmiGetQuerySchema (SdaiString schemaName,
SdaiString querySchemaName,
SdaiQuerySchema *querySchemaId);
Returns a querySchemaId that uniquely identifies an EDMquerySchema in the EDMdatabase.
Arguments
Type | Name | Comment |
SdaiString | schemaName | Specifies the name of the Express schema that hosts the query schema. This Express must exist as a dictionary model in the EDMdatabase . Schema names are case insensitive. Schema names are unique in an EDMdatabase . |
SdaiString | querySchemaName | Specifies the name of query schema of interest. Query schema names are case insensitive. |
SdaiQuerySchema | *querySchemaId | Address of the variable that will receive the numeric querySchemaID that uniquely identifies the query schema instance in the EDMdatabase . |
Return Value
Options
Example
SdaiQuerySchema querySchemaId;
EdmiError rstat;
. . .
if (rstat = edmiGetQuerySchema ("PDM_Schema",
"product_doc_approval",
&querySchemaId)) {
/* Error in operation */
printf("\nError: %s in edmiGetQuerySchema\n",
edmiGetErrorText(rstat));
goto error;
}
printf ("\nQerySchemaId: %lu", querySchemaId);
. . .
See also