Forum > Databases
[SOLVED] TBufDataSet.Locate
(1/1)
egsuh:
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:
I should have written :
BufDataSet1.Locate('pid;wave', VarArrayOf([tpid, twave]), []);
I don't know how many times I made this stupid mistake.
Navigation
[0] Message Index