Wrox Programmer Forums
|
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 January 24th, 2005, 06:13 AM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Crystal Reports Help

Hello!
I have to write a program that will refresh Crystal reports every now and then with VB6. My problem is I'm using Documentum as Database so I have to connect to it. Please help if you can.
Here is the bit of the code I created:

Private Sub Command1_Click()
 Dim A As New CRAXDRT.Report
Dim B As New CRAXDRT.Application
Set A = B.OpenReport(Path+"\Report.rpt")
A.DiscardSavedData

This is the line I used to try and do the connection.
A.Database.Tables(1).SetLogOnInfo "ServerName", "Docbase", "Username", "Password"







Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal reports shyna Crystal Reports 3 September 20th, 2011 08:41 AM
how to get reports in crystal reports using ASP3.0 candy133 Classic ASP Basics 2 January 26th, 2006 08:26 AM
Comparitive Reports in Crystal Reports tarunm Crystal Reports 1 January 21st, 2006 01:08 AM
comparision among crystal reports and Data reports avats Crystal Reports 0 April 13th, 2005 01:01 PM
How to create/design reports with crystal reports BassmaniaQ Crystal Reports 0 December 14th, 2004 04:58 AM





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