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
An ASCII logo for Pascal ...
by
Fred vS
[
Today
at 12:51:02 pm]
[SOLVED] Timer
by
Pe3s
[
Today
at 12:36:33 pm]
TChart: +32% Processor lo...
by
KatiYusha
[
Today
at 12:09:53 pm]
QT5 PageControl Tab sizes
by
zeljko
[
Today
at 12:07:55 pm]
[ SOLVED ] Json parse pro...
by
superc
[
Today
at 11:58:37 am]
Improvement of packages/f...
by
Чебурашка
[
Today
at 10:47:35 am]
Setup landmap - databse
by
WimVan
[
Today
at 10:36:38 am]
SysTraIcon events do not ...
by
SWM1
[
Today
at 10:18:11 am]
CompareText improvement
by
Martin_fr
[
Today
at 09:58:04 am]
[solved] How to have a ge...
by
CCRDude
[
Today
at 08:45:26 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] TBufDataSet.Locate (Read 233 times)
egsuh
Hero Member
Posts: 1087
[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: 1087
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