943,545 Members | Top Members by Rank

Ad:
Apr 15th, 2005
-1

How can I call Crystal Report from VB 6.0 ?

Expand Post »
How can I call Crystal Report from VB 6.0 ?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
sham is offline Offline
40 posts
since Mar 2005
Apr 25th, 2005
0

Re: How can I call Crystal Report from VB 6.0 ?

Reputation Points: 10
Solved Threads: 0
Newbie Poster
niXin is offline Offline
5 posts
since Apr 2005
May 25th, 2005
0

Re: How can I call Crystal Report from VB 6.0 ?

if u mean displaying a report on vb this is how u go about it.
Place The crystal report control on the form,
connect it to the report file name

Dim Var as CrystalReport
set Var = CrystalReport1 'setting the variable to the name of the crystal report control
Var.WindowState = crptMaximized 'Maximizing the report to full screen
Var.Action = 1 'displaying the report
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pmakanga is offline Offline
5 posts
since May 2005
May 28th, 2005
0

Re: How can I call Crystal Report from VB 6.0 ?

first put a Crystal Report control on your form...then
copy the code to your button click event.


CR1.DiscardSavedData = True
CR1.WindowState = crptMaximized
CR1.ReportFileName = crystal_report_file
CR1.PrintReport


note: CR1 - is the control name for the Crystal Report control i have used.


hope this will help you...good luck.
Reputation Points: 11
Solved Threads: 0
Light Poster
vhinehds is offline Offline
29 posts
since May 2005
Jul 10th, 2006
0

Re: How can I call Crystal Report from VB 6.0 ?

where i found the Crystal Report control in VB.

thanks
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vjeshemv2000 is offline Offline
11 posts
since Jun 2006
May 5th, 2007
0

Re: How can I call Crystal Report from VB 6.0 ?

On any componend of controls (as button ..), click with righ button and choose componends, then choose crystal report, after that you will find it with others componend (or objects).

for me, i need how to add or delete a line from a report (with VB code).
The report is created, and i need to add some lines, sometimes, i need to delete sometimes. It depend on the user choice.
Can any one help me.
Thanks.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
elaek is offline Offline
6 posts
since May 2007
Feb 12th, 2010
0
Re: How can I call Crystal Report from VB 6.0 ?
how can i put the crystal report control to the form ?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Babeng is offline Offline
1 posts
since Feb 2010
Nov 5th, 2010
0
Re: How can I call Crystal Report from VB 6.0 ?
thank you very much
Reputation Points: 10
Solved Threads: 0
Newbie Poster
adhilkmr is offline Offline
1 posts
since Nov 2010
Nov 5th, 2010
0
Re: How can I call Crystal Report from VB 6.0 ?
???
Quote ...
thank you very much
??? for?
Reputation Points: 329
Solved Threads: 347
Senior Poster
AndreRet is offline Offline
3,700 posts
since Jan 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Determine: User or Admin in Login Module
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Trying ShutDown with VB6





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC