🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TAccessApplication open database

#2650
From: OneEye
Date: Mon, 05 May 2003 18:41
15 lines
1448 bytes
Thanx for the reply.
It helped solve my problem, but I also had to change something else.

I changed my code to :
   Access = new TAccessApplication(Main);
   Access->ConnectKind=ckRunningOrNew;

    // Access->Connect();

   Access->set_Visible(true);
   AnsiString path = "G:\\huur.mdb";
   Access->OpenAccessProject(WideString(path),true);

see ? when I removed the 'Access->Connect()' it worked perfectly.
I don't know why exactly, but I will find out.
Technical Details
Message-ID: <3eb6be8d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3eb67b13@newsgroups.borland.com> <3eb6ac39$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,756a97b7c741e3f2
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-05-05 12:49:29 PST
From: "OneEye" <m.kollau@home.nl>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3eb67b13@newsgroups.borland.com> <3eb6ac39$1@newsgroups.borland.com>
Subject: Re: TAccessApplication open database
Date: Mon, 5 May 2003 20:41:58 +0200
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 212.204.154.8
Message-ID: <3eb6be8d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052163725 212.204.154.8 (5 May 2003 12:42:05 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail