🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to use ftLargeInt parameter in an ADOQuery

#2012
From: Bruno GAUTIER
Date: Tue, 09 Dec 2003 16:18
19 lines
1562 bytes
Hello,
i've got this problem.
I use an ADOQuery with a LargeInt parameter but I can't initialize it.

I write the following code :

uint64_t key;
query->text->Add( 'SELECT * FROM mytable WHERE mykey = :thekey');
query->Parameters->ParamValues["thekey"] = key;

I get the following error (sorry but it's the french version):
E2015 : Ambiguite entre '__fastcall System::Variant::Variant(const char)' et
'__fastcall System::Variant::Variant(const signed char)'

How can I initialize my parameter ?

Thanks

Bruno
Technical Details
Message-ID: <3fd5f5c0$0$29062$636a55ce@news.free.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fr.ip.ndsoftware.net!proxad.net!proxad.net!feeder2-1.proxad.net!news4-1.free.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,af943b0da46473c4,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-12-11 03:43:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fr.ip.ndsoftware.net!proxad.net!proxad.net!feeder2-1.proxad.net!news4-1.free.fr!not-for-mail
From: "Bruno GAUTIER" <bruno.gautier_NOSPAM@basystemes.fr>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: How to use ftLargeInt parameter in an ADOQuery
Date: Tue, 9 Dec 2003 17:18:19 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Lines: 23
Message-ID: <3fd5f5c0$0$29062$636a55ce@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 09 Dec 2003 17:18:09 MET
NNTP-Posting-Host: 217.167.0.1
X-Trace: 1070986689 news4-1.free.fr 29062 217.167.0.1:53861
X-Complaints-To: abuse@proxad.net