🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to add date into TADOQuery

#2666
From: Ken
Date: Mon, 12 May 2003 15:42
12 lines
1154 bytes
Hi,

Can anyone show me how assign value into a TADOQuery statement.

TADOQuery->Parameters->ParamByName("Mname")->Value = Date();

This statement cannot work, what is the correct way of assigning a date
value into this statement.

Thanks and best regards

Ken
Technical Details
Message-ID: <3ebfc0fb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,6f2909e7d1f5a04f,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-05-12 08:48:08 PST
Reply-To: "Ken" <ken@kjfriends.com>
From: "Ken" <ken@kjfriends.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: How to add date into TADOQuery
Date: Mon, 12 May 2003 23:42:53 +0800
Lines: 14
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: 210.24.225.95
Message-ID: <3ebfc0fb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052754171 210.24.225.95 (12 May 2003 08:42:51 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail