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
JSON Schema - JSONpath
by
MaLu
[
Today
at 03:57:38 pm]
TMapViewer and Overlay Ti...
by
plfeenstra
[
Today
at 03:50:30 pm]
How save a picture to SQL...
by
magleft
[
Today
at 03:47:37 pm]
Get notified when monitor...
by
mikerabat
[
Today
at 02:39:57 pm]
[SOLVED] Font question
by
KodeZwerg
[
Today
at 01:42:59 pm]
Help with tsearchrec
by
KodeZwerg
[
Today
at 01:30:38 pm]
Are customdrawncontrols a...
by
Joanna
[
Today
at 01:24:08 pm]
Unit/package to work with...
by
magleft
[
Today
at 01:14:32 pm]
MSEide+MSEgui new release...
by
lagprogramming
[
Today
at 01:13:59 pm]
Introducción al pascal mo...
by
BlueIcaro
[
Today
at 12:54:34 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] TBufDataSet.Locate (Read 241 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