JSchlosser
Member
Is there any possibility to receive boolean values in OracleQuery's (something like "otBoolean").
Example in BCB5:
bool bResult = false; oquGeneric->DeclareVariable("function_result",otBoolean);
oquGeneric->SQL->Text = "";
oquGeneric->SQL->Add("BEGIN ");
oquGeneric->SQL->Add(" :function_result := MCONTROL; ");
oquGeneric->SQL->Add("END;");
oquGeneric->Execute();
bool = oquGeneric->GetVariable("function_result");
Greetings
JS
Example in BCB5:
bool bResult = false; oquGeneric->DeclareVariable("function_result",otBoolean);
oquGeneric->SQL->Text = "";
oquGeneric->SQL->Add("BEGIN ");
oquGeneric->SQL->Add(" :function_result := MCONTROL; ");
oquGeneric->SQL->Add("END;");
oquGeneric->Execute();
bool = oquGeneric->GetVariable("function_result");
Greetings
JS