Hi there
Using ASPRunner Pro
For some time now I have been trying to figure out how to query multiple charts using just one search page as we don't have dashboard functionality at present. I have 2 tables
RESULTS and RESULTSSEARCH
The Results Table is the table all the charts look at and I want to search this table by Month and Year. Therefore the query that would be passed to all the charts would be Select * from RESULTS where Month = x and Year = y.
Rather than having to type this in on all the search pages for all of the individual graphs however I thought that the "search page" to apply the search criteria to all of the graphs could actually be an ADD page for the second table RESULTSSEARCH. Therefore an individual would type in the Month and the Year into this add page and then this data would be entered to RESULTSSEARCH.
Then, I thought that I could set the default value for Month and Year on each of the search pages for the graphs to equal the value of Month and Year in the RESULTSSEARCH table. In order to set a default value however the default value should be a "valid ##SCRIPT## expression" but I don't know how to do this.
Is this possible and can anyone help?
How do I set the default value for Month and Year on all of the search pages for the graphs to equal the values in Month and Year in RESULTSSEARCH? (This RESULTSSEARCH table will only ever contain one record (containing the current search terms) because once the search has been performed I plan to use an update query to delete this record, so that RESULTSSEARCH table is empty until the next search).
Many Thanks
Con.