I have a table that is being dynamically populated from a recordset that gets its SQL string from a session variable on another page.
The trouble is, that the results need to be linkable to yet another page and the link needs to include an SQL statement to open the next recordset using the result. i.e. Select * FROM blah WHERE blah ='result'
If the result is just one record then no problem but I can't get it to work if there are more then one records returned even though they have different names.
I think I need to be able to capture the result after it is put into the table, this will make sure it's the right one, and then build the SQL Statement.
Trouble is how?
The trouble is, that the results need to be linkable to yet another page and the link needs to include an SQL statement to open the next recordset using the result. i.e. Select * FROM blah WHERE blah ='result'
If the result is just one record then no problem but I can't get it to work if there are more then one records returned even though they have different names.
I think I need to be able to capture the result after it is put into the table, this will make sure it's the right one, and then build the SQL Statement.
Trouble is how?