This topic is locked
[SOLVED]

 Direct link to print page

7/18/2012 11:36:56 AM
ASPRunnerPro General questions
B
boater21 author

Hello All,

I'm on AspRunnerPro 6.3. My question is:

Is it possible to create a direct link to a print page?
Thanks!

A
admin 7/19/2012

how can we pass a key value to print a particular record. where key value is stored in a variable called "tmpOrderNo"
Thanks & regard

Sami

B
boater21 author 7/24/2012

Sami,

That is pretty much my question, thanks for re-phrashing it more clearly.



how can we pass a key value to print a particular record. where key value is stored in a variable called "tmpOrderNo"
Thanks & regard

Sami

admin 7/25/2012

You can pass one or more key values via URL and then use Printer page BeforeSQLQuery event to filter data.
Example of passing key value:

sometable_print.asp?id=12345


To access this value from your code use:

Request.QueryString("id")


Examples of filtering data using BeforeSQLQuery event:

http://xlinesoft.com/asprunnerpro/docs/dynamic_sql_query.htm