|
-
Apr 2nd, 2008, 07:11 AM
#1
Thread Starter
Junior Member
[RESOLVED]Selection formula of VB6.0 for crystal report 10
How to use selection formula in VB6.0 for the crystal report 10.
I was using cystal report 6 and used the selection formula as
.SelectionFormula = "trim({Table1.Branch})='" & cmbBR.Text & "'"
But for crystal report it is not accepting. Can any guide me how to pass the selection formula(Parameters)
Selvakumar
Last edited by kselvakumar_82; Apr 3rd, 2008 at 06:14 AM.
Reason: Resolved
-
Apr 2nd, 2008, 07:20 AM
#2
Re: Selection formula of VB6.0 for crystal report 10
What does "not accepting" mean? Are you getting an error?
-
Apr 2nd, 2008, 11:52 PM
#3
Re: Selection formula of VB6.0 for crystal report 10
Try with :
Code:
YourCRObject.RecordSelectionFormula = "Trim({Table1.Branch}) = '" & cmbBR.Text & "'"
-
Apr 3rd, 2008, 01:23 AM
#4
Thread Starter
Junior Member
Re: Selection formula of VB6.0 for crystal report 10
Thanks for your update on that. can you please clarify the following?
invalid or unqualified reference is the error im getting when i use .selection formula.
when i use
Crviewer1.RecordSelectionFormula = "Trim({Table1.Branch}) = '" & cmbBR.Text & "'"
im gettting the error as object doesnt suppport this property or method
-
Apr 3rd, 2008, 11:55 AM
#5
Re: Selection formula of VB6.0 for crystal report 10
You have to set the .RecordSelectionFormula property to the CRAXDRT object that is part of a reference that you have to set in your project :
Crystal Report ActiveX Designer Runtime Library 10
Visit the next link :
http://www.mahipalreddy.com/cr/crcodes1.htm
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
|