|
-
Mar 10th, 2006, 02:57 PM
#1
Thread Starter
Junior Member
[RESOLVED] How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
I need to know how to print a report i created in CR11 from vb6. Please dont rever me to any tutorials unless they explicitly give me the code instructions. Ive been looking for a while, but havent found anything.
-
Mar 10th, 2006, 03:23 PM
#2
Thread Starter
Junior Member
Re: How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
I've been searching this site. You guys REALLY don't know ANYTHING about CRYSTAL REPORTS. Thats why you took my post and put in in the CR graveyard, also known as Reporting (Crystal, Access and Data Designer) .
-
Mar 10th, 2006, 04:21 PM
#3
Frenzied Member
Re: How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
What control are you using to preview your report?
the CrystalActiveXReportViewer has a print button built into it.
-
Mar 10th, 2006, 04:48 PM
#4
Thread Starter
Junior Member
Re: How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
No, I never used CR before. I am a software programmer, and my job needs me to create a function which writes a letter(s) for an attorney in the program i am writing. Previous versions of the application used CR8, and the code does not work any more. I dont know anything. I need some assistance in the actual code used to write the report to the viewer. .action=1 doesnt work anymore. I am lost, and I cant find any resources on the web. The business objects website is a f'ing joke. I just need the appropriate code to be able to. I have an access database, which holds all of the data to be written in the report. I have the report(.rpt) creates as well. I made a form with the cr viewer. Now I need to know how to make this thing work. I AM FRUSTRATED! I usually figure things out really fast, but ive been stuck for the past 4 hours. PLEASE HELP!!!!!!!!
-
Mar 12th, 2006, 01:50 AM
#5
Re: How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
 Originally Posted by MZac
You guys REALLY don't know ANYTHING about CRYSTAL REPORTS
That's an excellent way to have your question ignored. Well done.
Pete
No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.
-
Mar 13th, 2006, 09:07 AM
#6
Thread Starter
Junior Member
Re: How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
Maybe, but note that NO ONE was able to answer it. So I can say whatever I want. Sad. But guess what, I figured it out on my own. PS, check out all of the other posts on the topic, not a single answer.
-
Mar 13th, 2006, 09:08 AM
#7
Thread Starter
Junior Member
Re: How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
By the way. Try to conceal your nerdiness, don't get your panties in a bunch because you arent smart enough to figure something out!
-
Mar 13th, 2006, 10:08 AM
#8
Thread Starter
Junior Member
Re: [RESOLVED] How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
To anyone that needs help with this topic:
1) You must be using CRXI Developer edition.
2) You must install the CR, RDC components.
3) You must create a form with the new CRViewer tool in your toolbox.
3a) For this example the form containing the report viewer is frmForm 3b) For this example the report viewer is CRViewer1 4) Create a report in CR (you can also create a report in VB6, using the Design interface that comes with CRXI, but I chose to create the report in CRXI)
5) Note the the directory you save the report in.
6) Create an Application object and a Report object like this:
VB Code:
Public Application As New CRAXDDRT.Application
Public Report As New CRAXDDRT.Report
6) Add this code to the command button you wish to use to call the viewer
VB Code:
frmForm.Show
Set Report = Application.OpenReport("C:\directory...\Report1.rpt")
frmForm.CRViewer1.ReportSource = Report
frmForm.CRViewer1.ViewReport
-
Mar 14th, 2006, 02:17 AM
#9
Re: [RESOLVED] How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
Pete
No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.
-
Mar 15th, 2006, 01:28 AM
#10
New Member
Specailly for MZac yar help me if u can in anyway & i am also searching tooo
Hi MZac,
u done extravallent job to sort out ur own problem by own caz i have also posted my CR8 Report problem but noone on this forum sort it out n i have aslo sort that problem but still there is a bit enclover to be sorted
wat my problem waz :
i need to prepare CR8 Reports for my Employees insentives & the i had made that in CR8 but i want it to be in a manner that i would choose two dates & in between that dates i just sort out all my employees Insentives e.g if i want my employees insentives for the month of jan 2006 then in database(Oracle8i i m using currently) there is allocation month where every month allocations are added for salespersons so wat i need is to sort that insentives according to Allocation Month & Salespersons names that i already made in CR8 but when i run my Software Application it requires 2 parameters thats i also made as date1 & date2
before there was problem with CR8 & it gives me run time error that i ahd also sorted now u will say then where is problem now left
now wat i need is when i run Software & i select dates from my Frontend (VB6 ) then after that CR8 Also prompt for those two parameters (Date1 & Date2)
now how will i ignore this prompting as i am selecting & already choose my dates from Application front end.
MZac please yar if u can help me or u know anyone expert means EXPERT in (CR8+VB6+Oracle8i) please reffer me caz i think this forum cant sort it out
for more detail i had also posted my Application Code & CR8 errore & RobDog had just sliped me out & cant do anything valuable that can help me except reffering to just dummy sites
anwar zaman
Manager IT
TRM pakistan
-
Mar 16th, 2006, 04:49 AM
#11
Frenzied Member
Re: [RESOLVED] How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
There are plenty of people on here willing to help anwar.
I imagine your appalling use of the English language did little to aid your cause, and shouting insults like this Mzac character is not going to warm you to these people.
Next time try a little common sense ... and a spell checker !
-
Mar 16th, 2006, 09:16 PM
#12
Re: [RESOLVED] How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
There are plenty of people on here willing to help anwar.
I imagine your appalling use of the English language did little to aid your cause, and shouting insults like this Mzac character is not going to warm you to these people.
Next time try a little common sense
Hi all!!! I agree with him...This place is for vb forum questions and not for complains. If you consider this forum as graveyard, you may send a PM to the moderators or post a thread in the Forum Feedback..In that way, administrators/moderators may try improving this forum or answer your personal questions.Lets work together in peace to make this forum a source of knowledge and not a place of thrashing words...
-
Mar 16th, 2006, 11:34 PM
#13
Thread Starter
Junior Member
Re: [RESOLVED] How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
Listen people...I honestly dont give a flying 747 about what you think about me. You know why, because I say what I want when I want, and I speak the truth. Thats me. Sorry anwar zaman, Im a newbie with crystal reports. My frustration the other day was because, again, NO ONE here knows jack about CRXI & VB. Not because my post wasnt replied to, but because no one would admit to their lack of knowledge. They would just send you on a wild goose chase for a non-existing tutorial. Pnish, your second post was a lot more docile than your first, and I responded to each in kind. You have no business telling ME what I can and cannot say on here. There was no flood to my response because no one knew the answer. Do some research, search for the question I was asking buddy. I didn't ask for your opinion. If you want to give me your opinion, guess what, this "MZac character" is gonna give you his. Suck that BionicFruit. Why not lay off Anwar, he isn't from America, he is from Pakistan. And if you really like correcting peoples use of the English language, why don't you pick up a reference book first. Apalling is used to describe consternation and dismay, an adjective typically used to refer to a specific condition - not ones ability to communicate. Get your level of knowledge up before you make yourself as foolish and "ignant" as you just have.
-
Mar 16th, 2006, 11:48 PM
#14
Re: [RESOLVED] How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
Feel better now?
Pete
No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.
-
Mar 17th, 2006, 03:46 AM
#15
Frenzied Member
Re: [RESOLVED] How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
 Originally Posted by pnish
Feel better now? 
How did I know it wasn't going to end there !
-
Mar 17th, 2006, 08:59 AM
#16
Thread Starter
Junior Member
Re: [RESOLVED] How do I print a report in CR11 From VB6??? NEED HELP BEFORE 5pm
Yes I do, ill try to be nicer in the future.
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
|