Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you delete CR parameters from VFP

Status
Not open for further replies.

INFORMAT

Programmer
Jan 3, 2001
121
BE
Hello

I'm a Visual Foxpro programmer and I use Cystal reports .

I have a CR report with 4 parameters.
On my form in Visual Foxpro I place an OLE control that send these 4 parameters to crystal reports.
I use the following code to fill the parameter fields:

THISFORM.OleControl1.ParameterFields(0) = ...
THISFORM.OleControl1.ParameterFields(1) = ...
THISFORM.OleControl1.ParameterFields(2) = ...
THISFORM.OleControl1.ParameterFields(3) = ...

Then I print my report and after this report I want to print directly an other report that have no parameters.
How can I delete the 4 parameters that I have created with my first report. If I don't delete these parameters, they are used for my second report and these report doesn't allow parameters and the I receive the CR error 20553 that means that I use invalid parameters.

Thanks for your time and answer

Informat Cv
Devriendt Nico
informat@unicall.be
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top