Hello,
is it possible to change the scroll option with which Clarion prepares the cursor for loading data in ABC Browse?
If I see correctly, the default options used are: AUTO_CLOSE + FORWARD_ONLY + PARAMETRIZED_STMT. For performance reasons I would need to add STATIC option here.
I’m afraid it can’t be controlled from Clarion, but maybe I’m missing something?
Well that conclusion seemed by looking on the trace generated by Clarion
03B20H(1) 16:33:25.506 Setting Concurrency to Row Version for Statement 0BBBC50H Time Taken:0.00 secs
03B20H(1) 16:33:25.506 Setting Cursor Type to Forward Only for Statement 0BBBC50H Time Taken:0.00 secs
03B20H(1) 16:33:25.506 Setting Concurrency to Row Version for Statement 0BBBC50H Time Taken:0.00 secs
03B20H(1) 16:33:25.506 Setting Cursor Type to Forward Only for Statement 0BBBC50H Time Taken:0.00 secs
03B20H(1) 16:33:25.506 Setting Cursor Type to Forward Only for Statement 0BBBC50H Time Taken:0.00 secs
More repetitions of forward only, but it may be working, on MS Profiler it shows this line after sp_cursorprepexec and before sp_cursorfetch
thank you for your help, unfortunately I couldn’t get it to work. It seems Clarion sends to sp_cursorprepexec the same parameters for the cursor all the time, regardless of the values set by PROP:StmtAttr.