May 25th, 2011, 03:29 AM
May 26th, 2011, 05:46 AM
Re: get the value of textbox and pass to crystal report using vb6
Your not stating what version of Crystal your using but usually you'll need to create a parameter field in the Crystal report called something like @FilterParameter. You then need to edit the RecordFilter Selection in Crystal to account for a value (if any) in the newly created @FilterParameter field.
Then in VB6 code, you access the report, loop through the parameter fields until you find @FilterParameter and assign the value of the textbox to it and then allow the report to show.
Hope that helps.
Click Here to Expand Forum to Full Width
Survey posted by VBForums.