Print form record to PDFreport

Hello.

How can I have a button on a “Single Record” form that passes that current record information to a pdfreport application.

Want to do this so I can control the layout of printing.

I have the pdfreport application but it always starts with the first record in the database?

Thanks for any help.

In your single record form create a new button (php) and use sc_redir() with record_id as parameter. In your pdfrecord app use a SQL Select Statement with WHERE rule.

And please, look at the samples/tutorials on scriptcase.net