[SOLVED] TBufDataSet.Locate lazarus / 16-Databases ---------------------------------------------------------------------- egsuh · 2023-01-13 10:07 Why sometimes this does not work with multiple key fields? Eg.   BufDataSet1.Locate('pid;wave', [tpid, twave], []); raises exception of columnh 'pid;wave' does not exist. ---------------------------------------------------------------------- egsuh · 2023-01-13 11:15 I should have written :     BufDataSet1.Locate('pid;wave', VarArrayOf([tpid, twave]), []); I don't know how many times I made this stupid mistake.