Board index » delphi » Report Smith parameters

Report Smith parameters

Hello,
I would like to pass Report Smith (Borland) the way to select the
records of a given table that have to be printed. Can anyone help me?
The problem is that nothing should be prompted to the user after
calling Report Smith. The only way I can think of is to prepare a
temporary table with the appropriate selection of records and then
give it to Report Smith, but logic would suggest me that there should
be a more direct way, don't you agree?  Thanks.

                                        Vincenzo

 

Re:Report Smith parameters


The following code adds two report variable values and runs the report.

Report1.InitialValues.Add('@Report1=<35>');
Report1.InitialValues.Add('@Report2=<test>');
Report1.Run;

BUT the total length of all initial value is limited to  255 characters.

Vincenzo Caselli <c...@sirius.pisa.it> wrote in article
<55le90$...@server2.cpr.it>...

Quote
> Hello,
> I would like to pass Report Smith (Borland) the way to select the
> records of a given table that have to be printed. Can anyone help me?
> The problem is that nothing should be prompted to the user after
> calling Report Smith. The only way I can think of is to prepare a
> temporary table with the appropriate selection of records and then
> give it to Report Smith, but logic would suggest me that there should
> be a more direct way, don't you agree?  Thanks.

>                                    Vincenzo

Other Threads