Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro 5.0 and Access 2000 report
Message
De
18/09/2002 15:08:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
FoxPro 5.0 and Access 2000 report
Divers
Thread ID:
00701980
Message ID:
00701980
Vues:
59
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
Répondre
Fil
Voir

Click here to load this message in the networking platform