Quantcast
Channel: Dick Wenning's Activities
Viewing all articles
Browse latest Browse all 1245

Datasource of type View donit user find first fast

$
0
0

I have a View in a datasource on my Form 

it is the second datasource,

on the init I Add these lines

  public void init()
        {
            super();
            this.queryBuildDataSource().firstFast(true);
            this.queryBuildDataSource().clearDynalinks();   
            this.queryBuildDataSource().addDynalink(fieldNum(View,field1),ParentTable,fieldNum(ParentTable,Field1));
            this.queryBuildDataSource().addDynalink(fieldNum(VIew,field1),ParentTable,fieldNum(ParentTable,Field2));
        }

it works fine, but it is slow with 3000+ lines, with trace profiler I see the query is not with option find first fast.

PS. the query below the view has on all places find first fast.


Viewing all articles
Browse latest Browse all 1245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>