Category Manufacturing, Object ProMfgdb

Function ProMfgdbExprValueTypeGet


Description
Returns the value type of the attribute contained in the specified expression so the user knows the data type of the search parameter. Use when defining a query, for example, search on Boolean, String, and so on.
Synopsis
#include <ProMfgdb.h>
ProErrorProMfgdbExprValueTypeGet(
ProMfgdbExpression expression
/* (In)
The expression.
*/
ProParamvalueType* p_value_type
/* (Out)
The attribute value type ( PRO_PARAM_DOUBLE, PRO_PARAM_STRING... ).
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrived the value.
PRO_TK_BAD_INPUTSThe expression handle was invalid or did not contain a value.

Manual References:

  1. Production Applications: Customized Tool Database: Querying the External Database
  2. Production Applications: Customized Tool Database: Querying the External Database