Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2004, 12:10 PM
Authorized User
 
Join Date: Jul 2003
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Save Crystal Rep with out data

Hi.
I’m trying to save my Crystal Reports with out data and refresh data every time report is created from my VB program. Looks like it doesn’t work the way I want it to work. Anyone has an idea?
Report is saved with "Save Data with report" unchecked.

Thank you
Pavel

 
Old February 23rd, 2004, 02:10 PM
Authorized User
 
Join Date: Jun 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Private Sub cmdCallCrReport_Click()
   Set CrystalReport1 = Nothing
   Set CrystalReport1 = CreateObject("Crystal.CrystalReport")
    With CrystalReport1
         do your stuff here
    End With
End Sub
 
Old March 3rd, 2004, 07:26 AM
Authorized User
 
Join Date: Mar 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can export the report in any format available on youre computer exel, word , pdf etc. The cristal report object has this option

Lucian Preda






Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to open report exported in Crystal rep jdaulagar Beginning VB 6 3 June 4th, 2007 08:06 AM
Failed to Load Database Information in Crystal Rep jayakumar.cj ASP.NET 1.0 and 1.1 Basics 0 October 16th, 2006 01:04 AM
deploying VB 6 pck with crystal rep 11 in Win 98 shantanu86 Pro VB 6 0 March 16th, 2006 09:49 PM
crystal rep printing problems in win NT nilesh_parmar Crystal Reports 0 December 21st, 2004 05:57 AM
C#how to pass string to crystal and show it in rep salmaan Crystal Reports 0 September 11th, 2003 02:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.