🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TAccessApplication open report

#2656
From: OneEye
Date: Tue, 06 May 2003 17:14
30 lines
1662 bytes
Hi,

another TAccessApplication question.

I want to open and show a report in Access.
I can open the database, but when I want to open a report nothing happens.
any suggestions?

code:
----------------------------------------------------------------------------
----
Access = new TAccessApplication(Main); // Main is my main form
Access->ConnectKind=ckRunningOrNew;
Access->set_Visible(true);

AnsiString path = "G:\\projects\\Huurmanager\\cleandb\\huur.mdb";

Access->OpenCurrentDatabase(WideString(path),false);

tagVARIANT tv ;
tv.vt=VT_I1;
tv.pcVal = "Huurder_overzicht";
Access->DoCmd->OpenReport(tv, acViewDesign, EmptyParam, EmptyParam);
----------------------------------------------------------------------------
----

thanks in advance for any comments.

grtz,
Maycel
Technical Details
Message-ID: <3eb7ee75@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!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,a589988f0716dc79,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-05-06 10:22:56 PST
From: "OneEye" <m.kollau@home.nl>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: TAccessApplication open report 
Date: Tue, 6 May 2003 19:14:50 +0200
Lines: 32
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: <3eb7ee75@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052241525 212.204.154.8 (6 May 2003 10:18:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail