🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem with ParamByName while converting from TQuery to TADOQuery

#1952
From: Matt Jacobs
Date: Tue, 30 Dec 2003 09:13
7 lines
1107 bytes
"Andreas Wehner" <archimedes@techstat.de> wrote:

>pQry->ParamByName("KartenID")->AsInteger = m_nKartenID;

Use this:

pQry->Parameters->ParamByName("KartenID")->Value = m_nKartenID;
Technical Details
Message-ID: <9cg2vv0buqqah4t5iue564sm4labsutaji@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <bsq0tc$7ru2$1@ID-215342.news.uni-berlin.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,4f6d3494f37c51fd
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-12-30 01:39:19 PST
From: Matt Jacobs <noyb@noyb.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Problem with ParamByName while converting from TQuery to TADOQuery
Date: Tue, 30 Dec 2003 01:13:40 -0800
Reply-To: __noyb@noyb.com
Message-ID: <9cg2vv0buqqah4t5iue564sm4labsutaji@4ax.com>
References: <bsq0tc$7ru2$1@ID-215342.news.uni-berlin.de>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.4.248.124
X-Trace: newsgroups.borland.com 1072775319 24.4.248.124 (30 Dec 2003 01:08:39 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail