I have a real basic query and output for a form my problem is that the query could bring back upwards of 200 records and I only want to display 20 per page and at the bottom of each page I want to either
A: submit and make a report from the names I have chosen
or
B: keep the names I have chosen and see the next 20 to see if I want to add one of them.
I dont even know if it is possible to have two buttons on a form that preform different actions but if it is i cant find the code anywhere.
<CFquery datasource="DS" name="Qname">
select name, id from table
</CFQUERY>
<FORM>
<cfoutput query=Qname>
<input type="checkbox" name="include" value="#id#">#name#
<CFOUTPUT>
<INPUT TYPE="submit" VALUE="make a report">
</FORM>
thanx in advance
A: submit and make a report from the names I have chosen
or
B: keep the names I have chosen and see the next 20 to see if I want to add one of them.
I dont even know if it is possible to have two buttons on a form that preform different actions but if it is i cant find the code anywhere.
<CFquery datasource="DS" name="Qname">
select name, id from table
</CFQUERY>
<FORM>
<cfoutput query=Qname>
<input type="checkbox" name="include" value="#id#">#name#
<CFOUTPUT>
<INPUT TYPE="submit" VALUE="make a report">
</FORM>
thanx in advance