Newbie question - connect search application and blank application

I have some old code generating PDF using latex. I want to use a search application, pass the select filtered or query object to the blank application contain the old code.

But I cannot find how to do this, the “Application Links” never allow me use a blank application.

The other way is insert/rewrite it after the user entered the search data. I use the onValidate event. But found that the{sc_where_filter}, {sc_where_current} is not found. Only the variables’ content is available.

Can somebody give me some advice. Thanks in advance.

Regards,

Almond Wong

Use grid with PHP button is better.

Regards,

Almond Wong