| | |
How can I pass values to Crystal 9 “Formulas� and “Selection Formula� with VB6
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2005
Posts: 4
Reputation:
Solved Threads: 1
How can I pass values to Crystal 9 “Formulas� and “Selection Formula� with VB6
0
#1 Feb 15th, 2005
Hi..
I have done some programs in VB6 (SQL Database). With the Crystal report (Vertion 4).
Now I wanted to do these things with Crystal-9. But the procedure to pass values to “Formulas� and “Selection Formula� is different and I can not get it done.
So pls can u give me a small sample code for it. I’ll show u a sample how I have get it done in Crystal-4.
Ex.
This is how i have pass values to “Formulas�
CrystalReport1.Formulas(0) = "PAWBNo='" & Trim(Text11.Text) & "'"
CrystalReport1.Formulas(1) = "AWB_Pcs_Wgt='" & Trim(Text13.Text) & "'"
CrystalReport1.Formulas(2) = "CoName='" & Trim(Text6.Text) & "'"
This is how i have pass values to “Selection Formulas� :-
CrystalReport1.SelectionFormula = "{PF_DOrder.SerNo} = '" + Trim(Text17.Text) + "'"
CrystalReport1.Action = 2 'Display
pls. write to me...i'm runing out of time..
Appreciate u’r help..
Bassa
I have done some programs in VB6 (SQL Database). With the Crystal report (Vertion 4).
Now I wanted to do these things with Crystal-9. But the procedure to pass values to “Formulas� and “Selection Formula� is different and I can not get it done.
So pls can u give me a small sample code for it. I’ll show u a sample how I have get it done in Crystal-4.
Ex.
This is how i have pass values to “Formulas�
CrystalReport1.Formulas(0) = "PAWBNo='" & Trim(Text11.Text) & "'"
CrystalReport1.Formulas(1) = "AWB_Pcs_Wgt='" & Trim(Text13.Text) & "'"
CrystalReport1.Formulas(2) = "CoName='" & Trim(Text6.Text) & "'"
This is how i have pass values to “Selection Formulas� :-
CrystalReport1.SelectionFormula = "{PF_DOrder.SerNo} = '" + Trim(Text17.Text) + "'"
CrystalReport1.Action = 2 'Display
pls. write to me...i'm runing out of time..
Appreciate u’r help..
Bassa
•
•
Join Date: Feb 2005
Posts: 4
Reputation:
Solved Threads: 1
Re: How can I pass values to Crystal 9 “Formulas� and “Selection Formula� with VB6
0
#2 Feb 19th, 2005
![]() |
Similar Threads
- Passing values at run time through a JSP page to selection formula to crystal report (JSP)
- crystal report selection formula help pls (Visual Basic 4 / 5 / 6)
- Crystal Report Selection Formula.... (VB.NET)
- How to pass parameter in Crystal report 9 (ASP.NET)
- Pass Criteria to Crystal Report 8 Using Visual Basic 6 (Visual Basic 4 / 5 / 6)
- how do I pass values between classes? (Python)
- How to pass the values of javascript in perl (JavaScript / DHTML / AJAX)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Great Resources of Visual Basic API Functions
- Next Thread: Lines are being skipped in the input file.
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






here is…???