|
-
Nov 13th, 2000, 12:13 PM
#2
Addicted Member
In my program I have a MDI form and child forms. I just went into Project, selected Components, then clicked on the Crystal Report Control, so that I could select it from the toolbox.
You will then put the crystal report control on the MDI Form. You can right click on the control and go to properties and set up all the settings you want for that report.
Then in your code for the MDI Form, I put in this to import the report into my vb program.
Private Sub mnuReportsfrmPreviewShift_Click()
With CrystalReport9
.Destination = crptToWindow
.DataFiles(0) = "H:\Software Development Projects\Maintenance database\Maintenance Data.mdb"
.ReportFileName = "H:\Software Development Projects\Maintenance database\Summary By Shift.rpt"
.Action = 1
End With
End Sub
If you have any questions about the above info, just email me back at [email protected].
Good Luck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|