recommended settings for lookup fields
Posted: Wed 07 Oct 2015 11:33
Hello,
I'm trying to find the optimal way to set up my lookup fields:
my lookup dataset has key = integer, value = string, ca. 2000 records.
if i use it with default properties, everything is extremely slow (calling an .append on dataset with such lookup field takes 3 milliseconds etc.)
I have found 2 options to make it faster:
1. set lookupcache = true for the lookup field
2. setting indexfieldnames in the lookup dataset to the key field
what is the best setup in your opinion? 1 or 2 or combination of both? or even anything else/more?
Thanks for your ideas,
Ludek.
I'm trying to find the optimal way to set up my lookup fields:
my lookup dataset has key = integer, value = string, ca. 2000 records.
if i use it with default properties, everything is extremely slow (calling an .append on dataset with such lookup field takes 3 milliseconds etc.)
I have found 2 options to make it faster:
1. set lookupcache = true for the lookup field
2. setting indexfieldnames in the lookup dataset to the key field
what is the best setup in your opinion? 1 or 2 or combination of both? or even anything else/more?
Thanks for your ideas,
Ludek.