IndexFieldNames problem
Posted: Tue 16 Jun 2009 11:25
Hi,
when I use MyQuery.Lookup(FieldName,SearchValue,ResultField)) on TMyquery where no IndexFieldNames is defined everything works ok but very slow, but when I add value in IndexFieldNames property and variable "SearchValue" is empty Myquery return error : '' is not valid integer value.
I noticed also that if IndexFieldNames is defined you can not use this dataset for lookup fields if field type is different. With empty IndexFieldNames everything is working ok.
Regards,
Pedja
when I use MyQuery.Lookup(FieldName,SearchValue,ResultField)) on TMyquery where no IndexFieldNames is defined everything works ok but very slow, but when I add value in IndexFieldNames property and variable "SearchValue" is empty Myquery return error : '' is not valid integer value.
I noticed also that if IndexFieldNames is defined you can not use this dataset for lookup fields if field type is different. With empty IndexFieldNames everything is working ok.
Regards,
Pedja