🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Flexible SQL Queries through ADO.

#1614
From: Mark Guerrieri
Date: Tue, 01 Jun 2004 20:46
12 lines
1428 bytes
> DynamicFlexSQLStmt = "SELECT ?, ? FROM mySQLTable WHERE Date >= ? AND Date
<= ?"

This is what the SQL statement looks like when it sent to ADO; the ? is a
placeholder for ADO's parameter substitution.  This is normal.

> I get an error "No Value given for one or more required Parameters"

Not sure about this- post or send me your entire method and I'll take a
look...

Mark
Technical Details
Message-ID: <40bceb22@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.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
References: <40ba50b3$1@newsgroups.borland.com> <40baa32b$1@newsgroups.borland.com> <40bb4d03$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,88aab88ffc95b09
X-Google-Attributes: gid10698b,public
Reply-To: "Mark Guerrieri" <mguerrieri@cmsgrp.com>
From: "Mark Guerrieri" <mguerrieri@cmsgrp.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <40ba50b3$1@newsgroups.borland.com> <40baa32b$1@newsgroups.borland.com> <40bb4d03$1@newsgroups.borland.com>
Subject: Re: Flexible SQL Queries through ADO.
Date: Tue, 1 Jun 2004 16:46:36 -0400
Lines: 14
Organization: Creative Marketing Strategies
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
NNTP-Posting-Host: 66.200.143.50
Message-ID: <40bceb22@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1086122786 66.200.143.50 (1 Jun 2004 13:46:26 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.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