I want to create a page that displays a number of columns selected from an Oracle database. (That's easy enough)
The twist being I need the select statement, where clause and the display to be 'user defined'.
For example the user selects the filtering criteria from dropdown boxes containing the columns on the table, an operator and a value i.e. they may choose to view all records on the ACCOUNTS table with the column CREDIT_VALUE greater than £5,000 and the column TRADING_STATUS = 1.
Can anyone give me any pointers (if this is actually possible) - I am having problems trying to work out
1) how to construct the query
2) how to display the values from the recordset because the field names are variable.
(note: I am using Javascript / jscript)
Any help would be greatly appreciated! Blood, Sweat But No Tears!
The twist being I need the select statement, where clause and the display to be 'user defined'.
For example the user selects the filtering criteria from dropdown boxes containing the columns on the table, an operator and a value i.e. they may choose to view all records on the ACCOUNTS table with the column CREDIT_VALUE greater than £5,000 and the column TRADING_STATUS = 1.
Can anyone give me any pointers (if this is actually possible) - I am having problems trying to work out
1) how to construct the query
2) how to display the values from the recordset because the field names are variable.
(note: I am using Javascript / jscript)
Any help would be greatly appreciated! Blood, Sweat But No Tears!