Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports: How do I preview a report in an MDI win
Message
De
15/10/1997 01:58:54
Manika Bedi
Pcl - Mindware
New Delhi, Inde
 
 
À
14/10/1997 11:21:27
Brian Hartin
Custom Business Solutions
Iowa City, Iowa, États-Unis
Information générale
Forum:
Visual C++
Catégorie:
Autre
Divers
Thread ID:
00054457
Message ID:
00054630
Vues:
37
>Does anyone know how to preview a report in an MDI child window through VB code? The CR help file explains how to do it but it doesn't seem to work when I try it.
>
>BTW I'm using VB 5 and CR 4.6.1
>
>Thanls,
>Brian Hartin
>MCI Telecommunications
>Brian.Hartin@MCI.Com

Hi Brian,
To work out this, I suppose that you have your report ready. Place a crystal report control on your form and set the properties reportfilename to you .rpt file. To call this report from the form, place a command button and in the code write
crystalreport.selectionformula = ""
crystalreport.action = 1
Make sure your Reportsource property is set to Report File. And I assume that you have made your report with a MS Access database.
This will get you your report in a window.

Manika
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform