|
-
Oct 2nd, 2000, 04:59 PM
#1
i have based a report on an SQL query
and i am trying to get it to print but
nothing happens,
Code:
'print report
crpt.ReportFileName = Use_ReportsPath & "MyReport.rpt"
crpt.PrintReport
the printing dialog box (crystal reports 8 version) appears
but shows that page 1 is printing, then disappears, having printed nothing.
is there something else that needs to be added because of the SQL source behind the report?
thankx in advance,
larry
-
Oct 2nd, 2000, 06:00 PM
#2
Frenzied Member
Open the report file in Crystal and verify that you have a printer set up under Printer Setup in the File Menu. If you do not have a printer setup on the PC where the report was developed, it will not print. Strange but true...
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Oct 3rd, 2000, 11:18 AM
#3
i have a printer set up.
i have tried saving the data with the report
and it still doesn't print anything..
if i open straight to crystal reports and open my report
i can print it out, no problems..
however, i want my VB program to be able to
print this out since this is one of the purposes
of using crystal reports, isn't it?
i am suspecting it is something to do with SQL
my SQL statement just pulls data from a table and
groups it accordingly, no big deal there, just
confused why it won't print when called
need help, please
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
|