In the Rave Designer, select your Report and click the ellipsis for it's Parameters property. Type in a name such as 'Test' on the first line and then click Ok. Now drop a DataText component onto your page and click the ellipsis for it's DataField property. In the Project Parameters field, click the combobox and select 'Test'. Then click the Insert Parameter button and click Ok. Save your work.
In Delphi, drop a TRvProject, a TRvSystem, a TButton, and a TEdit onto your form. Connect the TRvProject's Engine to your TRvSystem and set it's project file value to the Rave file created in the Designer. In your TButton's Onclick Event put the following code:
RvProject1.Open;
RvProject1.SetParam('Test', Edit1.Text);
RvProject1.SelectReport('Report1', True);
RvProject1.Execute;
RvProject1.Close;
Compile and run the project. Type something in the Edit box, click the button and your should see your entry reflected in the report.
Last Modified: 20-JAN-04