Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
[SOLVED] TBufDataSet.Locate
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Component with TGraphicCo...
by
domasz
[
Today
at 10:21:33 pm]
Lazarus Release 2.2.6
by
Lulu
[
Today
at 08:47:51 pm]
[SOLVED] Font question
by
Pe3s
[
Today
at 07:39:06 pm]
Code-Review Request: Alte...
by
Martin_fr
[
Today
at 06:54:59 pm]
class function TCDWSButto...
by
Bart
[
Today
at 06:27:52 pm]
Pasar punteros de DLL C a...
by
BlueIcaro
[
Today
at 06:10:28 pm]
[Solved] Tab stops in Ric...
by
Nicole
[
Today
at 06:05:28 pm]
[SOLVED] FPSpreadsheet, r...
by
nomorelogic
[
Today
at 05:48:46 pm]
An ASCII logo for Pascal ...
by
Fred vS
[
Today
at 05:31:12 pm]
Patch for fixing a TextOu...
by
JuhaManninen
[
Today
at 05:18:27 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] TBufDataSet.Locate (Read 239 times)
egsuh
Hero Member
Posts: 1094
[SOLVED] TBufDataSet.Locate
«
on:
January 13, 2023, 11:07:52 am »
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.
«
Last Edit: January 13, 2023, 12:15:20 pm by egsuh
»
Logged
egsuh
Hero Member
Posts: 1094
Re: TBufDataSet.Locate
«
Reply #1 on:
January 13, 2023, 12:15:04 pm »
I should have written :
BufDataSet1.Locate('pid;wave', VarArrayOf([tpid, twave]), []);
I don't know how many times I made this stupid mistake.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
[SOLVED] TBufDataSet.Locate
TinyPortal
© 2005-2018