🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1273

FindKey question

#1273
From: ScOe
Date: Thu, 09 Sep 2004 16:15
12 lines
1091 bytes
How do i search table which has 3 fields in index definition ?

i tried like this:
if (!DMod->Dataset1->FindKey (ARRAYOFCONST((Param1+";"+Param2+";"+Param3))))
...

and like:

TVarRec var[3] = {{Param1}, {Param2}, {Param3}};
FindKey (var, 2);

but that doesnt work ...
Technical Details
Message-ID: <414081aa@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,730b2a2e39d51311,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "ScOe" <cbinders@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: FindKey question
Date: Thu, 9 Sep 2004 18:15:15 +0200
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 193.198.130.235
Message-ID: <414081aa@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1094746538 193.198.130.235 (9 Sep 2004 09:15:38 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail