![]() |
Sergey Kornilov admin 10/7/2008 |
Visual Editor->Report list page. "Insert ASP code snippet" button and place your code that display custom header there. |
|
Alberto author 10/8/2008 |
Great Thanks!!! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=33762&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' /> |
![]() |
Sergey Kornilov admin 10/8/2008 |
It all depends on what kind of header you talking about and what you want to display there. |
|
Alberto author 10/8/2008 |
I have a table with 13 columns and I will populate it with values based on a date range.
|
![]() |
Sergey Kornilov admin 10/10/2008 |
It depends on how you define the date range. Let's say range start date is stored in session variable Session("Start") d = CDate(Session("Start"))
d = CDate(Session("Start")) |
|
Alberto author 10/13/2008 |
I see where you are going now, but how could this be done using sql (inseatd of session variables)? |
![]() |
Sergey Kornilov admin 10/13/2008 |
You cannot have variable dynamic headers in SQL query. This needs to be done on ASP side. |
|
Alberto author 10/17/2008 |
I dont mean doing it at a sql level or database, I mean using sql queries to get the hearder stored in a table instead of doing calulations usin Session variables. . See my examples please |
J
|
Jane 10/20/2008 |
Hi, |
|
Alberto author 10/24/2008 |
OK I see what you are saying , do you think you can provide an example of how to code something like that? |
J
|
Jane 10/31/2008 |
Alberto, str = "select header_name from headers_table" Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open str,dbConnection response.write rstmp("header_name") rstmp.close set rstmp=nothing |
|
Alberto author 10/31/2008 |
Many Thanks Jane, I will give it a try <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=34646&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' /> |