Hi,
I am attempting to do the following:
1. read data from a SQL Server database and display in a listbox ie names of reports
2. allow the users to select an entry in the listbox ie which report they would like to run
3. Determine the item the user chose and send the appropriate stored procedure name to a new page which will prompt for parameters.
I can get items 1 and 3 working okay. The thing I am having trouble with is associating the selection the user makes from the listbox and the value for the stored procedure name that should be submitted to the next page.
I have tried an array, hidden fields etc but I cant get the VBScript to read the value of the chosen item in the listbox so I can read through the array and pass the correct stored procedure name.
I am trying to make the pages dynamic so that when new reports are created, all that has to happen is an entry is added to the table in the SQL database, no code/web pages should need to be changed/modified.
Can anyone give me ideas? I can show you my current code if you need to see.....
thanks
Jan