🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TADOQuery->Parameters->Index[]->Value

#1221
From: Stephane Baillargeon
Date: Wed, 22 Sep 2004 19:50
13 lines
1356 bytes
> Have you tried:
>
> padoQry->Parameters->ParamByName( "Test" )->Value = 3683; //
> <---access violation
>
> If the error persists try renaming Test variable to some other,
> because
> it may be some conflict with DB's name Test.

Conflict is not an issue because the word Test is only for test purposes.
Replace Test by = :UserName

ParamByName returns an access violation because the param is not found.
Technical Details
Message-ID: <4151d7a7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4151b7fb$1@newsgroups.borland.com> <4151c844@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,99111c154f0d657d
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Stephane Baillargeon" <info@solutionsgestico.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <4151b7fb$1@newsgroups.borland.com> <4151c844@newsgroups.borland.com>
Subject: Re: TADOQuery->Parameters->Index[]->Value
Date: Wed, 22 Sep 2004 15:50:32 -0400
Lines: 15
Organization: Solutions Gestico
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2741.2600
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2742.200
NNTP-Posting-Host: 65.93.185.252
Message-ID: <4151d7a7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095882663 65.93.185.252 (22 Sep 2004 12:51:03 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail