🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Create a TADOQuery without a TForm

#1893
From: Steve Aletto
Date: Tue, 13 Jan 2004 12:50
13 lines
1228 bytes
> Now I can create a TADOQuery without drag TADOQuery
component on the
> TForm, with the command:
>
> TADOQuery* Query = new TADOQuery(Form1);

Have you tried the following?

TADOQuery* Query = new TADOQuery(NULL);

HTH,

Steve.
Technical Details
Message-ID: <4003e978@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.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: <4002fb57@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,e08787740a219ba0
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-01-13 05:05:30 PST
Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <4002fb57@newsgroups.borland.com>
Subject: Re: Create a TADOQuery without a TForm
Date: Tue, 13 Jan 2004 13:50:07 +0100
Lines: 15
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: 80.105.101.132
Message-ID: <4003e978@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073998200 80.105.101.132 (13 Jan 2004 04:50:00 -0700)
Path: arc1-ca.pugleaf.net!archiver1.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