Possible Bug.
I have found that the function TOracleDataSet.SearchRecord will compile but will always return false under the following circumstance:
If it is used with TSearchRecordOptions unspecified in the form:
Found := SearchRecord('ename;deptno',VarArrayOf(['A*', 20]),[]);
then the function will compile regardless of whether the uses clause contains OracleData. If compiled without OracleData in the uses clause it will always return false.
However, using an explicit TSearchRecordOptions such as [srForward] will cause the compiler to display an error if OracleData is not in the uses clause.
The result is that you can write a proc using TOracleDataSet.SearchRecord that compiles but does not actually work.
Also, there is no other function of this name in the application.
------------------
Perry Schwartz
TechStar International
[This message has been edited by techstar (edited 08 December 1999).]
I have found that the function TOracleDataSet.SearchRecord will compile but will always return false under the following circumstance:
If it is used with TSearchRecordOptions unspecified in the form:
Found := SearchRecord('ename;deptno',VarArrayOf(['A*', 20]),[]);
then the function will compile regardless of whether the uses clause contains OracleData. If compiled without OracleData in the uses clause it will always return false.
However, using an explicit TSearchRecordOptions such as [srForward] will cause the compiler to display an error if OracleData is not in the uses clause.
The result is that you can write a proc using TOracleDataSet.SearchRecord that compiles but does not actually work.
Also, there is no other function of this name in the application.
------------------
Perry Schwartz
TechStar International
[This message has been edited by techstar (edited 08 December 1999).]