Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro 5.0 and Access 2000 report
Message
From
18/09/2002 15:08:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
FoxPro 5.0 and Access 2000 report
Miscellaneous
Thread ID:
00701980
Message ID:
00701980
Views:
58
Hi,
I have several Microsoft Access 2000 reports that show
data from a MSSQL database.

I would like to execute Access and display reports from
the FoxPro 5.0 form.
This code...
objAccess = CreateObject("Access.Application")
objAccess.OpenCurrentDatabase(mdbName)
objAccess.Visible = .T.
objAccess.DoCmd.OpenReport(rptName)
...has 2 problems:
First problem: I can't preview report. It only prints to
printer.
Second problem: I get MSSQL login dialog box.

I appreciate any help.

Thanks,
Dragan
Reply
Map
View

Click here to load this message in the networking platform