yagnik3128
Programmer
Hello, I am a free lancer & using Crystal report with VB6.
I am passing date range through VB like
Cr1.SelectionFormula = "{FA16.FA16_2} in Date (" & MSDate & " To Date (" & MEDate & ""
Here FA16 is a table & FA16_2 is a field name. & msdate & medate are the strings which user will pass through a form.
I am passing this selectionformula in a main report. & it is working fine. I am calling 2 subreports in this main report & i have used some other tables in those reports. I want to pass a selection formula of date range in that subreports too through VB.
Please Help me.
I am passing date range through VB like
Cr1.SelectionFormula = "{FA16.FA16_2} in Date (" & MSDate & " To Date (" & MEDate & ""
Here FA16 is a table & FA16_2 is a field name. & msdate & medate are the strings which user will pass through a form.
I am passing this selectionformula in a main report. & it is working fine. I am calling 2 subreports in this main report & i have used some other tables in those reports. I want to pass a selection formula of date range in that subreports too through VB.
Please Help me.