How can I call Crystal Report from VB 6.0 ?

Reply

Join Date: Mar 2005
Posts: 40
Reputation: sham is an unknown quantity at this point 
Solved Threads: 0
sham sham is offline Offline
Light Poster

How can I call Crystal Report from VB 6.0 ?

 
0
  #1
Apr 15th, 2005
How can I call Crystal Report from VB 6.0 ?
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 5
Reputation: niXin is an unknown quantity at this point 
Solved Threads: 0
niXin's Avatar
niXin niXin is offline Offline
Newbie Poster

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

 
0
  #2
Apr 25th, 2005
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 5
Reputation: pmakanga is an unknown quantity at this point 
Solved Threads: 0
pmakanga pmakanga is offline Offline
Newbie Poster

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

 
0
  #3
May 25th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 29
Reputation: vhinehds is an unknown quantity at this point 
Solved Threads: 0
vhinehds's Avatar
vhinehds vhinehds is offline Offline
Light Poster

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

 
0
  #4
May 28th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 11
Reputation: vjeshemv2000 is an unknown quantity at this point 
Solved Threads: 0
vjeshemv2000 vjeshemv2000 is offline Offline
Newbie Poster

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

 
0
  #5
Jul 10th, 2006
where i found the Crystal Report control in VB.

thanks
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 5
Reputation: elaek is an unknown quantity at this point 
Solved Threads: 0
elaek elaek is offline Offline
Newbie Poster

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

 
0
  #6
May 5th, 2007
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC