|
-
Apr 28th, 2006, 07:39 AM
#1
Thread Starter
Member
VB6 and Crystal reports
I want to print a invoice from my access database using a crystal report. i have crystal report ready for that but dont know how to pass record selection criteria from my VB application to crystal report. It shows all record from invoice table. my ADO recordset in Vb application is rsInv with single record i want to print.
-
Apr 28th, 2006, 08:19 AM
#2
PowerPoster
Re: VB6 and Crystal reports
What level of CR are you using?
-
Apr 28th, 2006, 08:21 AM
#3
Thread Starter
Member
Re: VB6 and Crystal reports
I M using Crystal report 8, VB6 And Access Database
-
Apr 28th, 2006, 08:31 AM
#4
PowerPoster
Re: VB6 and Crystal reports
I could give you some sample code if you were using CR9. It has been too long since I upgraded from 8. I don't have any VB6/CR8 code around anymore. The coding changed between the 2 versions. Sorry.
-
Apr 28th, 2006, 08:41 AM
#5
Fanatic Member
Re: VB6 and Crystal reports
-
Apr 28th, 2006, 08:47 AM
#6
Thread Starter
Member
Re: VB6 and Crystal reports
I am quite new to this , so please can you explain me what is that TTX?
-
Apr 28th, 2006, 08:51 AM
#7
Thread Starter
Member
Re: VB6 and Crystal reports
For the same report in data report i am using
strSQL = "select * from inv1 where invno='" & cboInvNo.Text & "'"
rsInv.Open strSQL, cnnInv, adOpenKeyset
If rsInv.EOF And rsInv.BOF Then
MsgBox "Invoice No Not Found !!!!!!"
rsInv.Close
Exit Sub
End If
Set DEVat.rscmdInv1.DataSource = rsInv
DRInvFP.Show
rsInv.Close
where DEVat is dataenvironment and DRInvFP is Data Report
-
Apr 28th, 2006, 09:38 AM
#8
Re: VB6 and Crystal reports
Moved to reporting section
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
|