window.open('Master_Query.idc?advtext=' + advtext + '&advoption=' + advoption ,'testwindow','toolbar=no,menubar=no,scrollbars=yes,resizable=yes');
The query then picks up the variables using % signs. The error I get is this:
Error Performing Query
[State=07001][Error=-3010][Microsoft][ODBC Microsoft Access Driver] Too few
parameters. Expected 1.
Any help much appreciated