Hi,
I have a problem using parameters in TOraQuery. When accessing the parameters as TParam, the value is not the same, i.e. accessing TParam(AParam).Value will return an other value than TOraParam(AParam).Value or TDAParam(AParam).Value!
I am using reflection in a custom component to get the parameter from a TDataSet reference.
How can I solve the problem without needing direct reference to Odac?
Accessing TOraParam as TParam returns different values.
You can use the following code to call TOraParam.Value:
Code: Select all
GetVariantProp(Param, 'Value')