I have been attempting to delete a record via the use of a form where selecting Delete will provide the correct RequestID to complete the operation, however I always get all IDs, so all records would be deleted. I am not sure where I'm going wrong, but I've been working on this one issue for a couple of hours and just need some fresh thoughts. Thanks!!
<cfloop query="getData">
<cfoutput>
<tr><td align="center">#Lastname#</td><td align="right">#DateFormat(ScheduleDateTime,"ddd, mmmm dd, yyyy")#</td><td>#TimeFormat(ScheduleDateTime,"hh:mm:sstt")#</td><td align="center">#PropertyID#</td><td>#ClientName#</td><td><input type="submit" value="Delete"><cfoutput>#RequestID#</cfoutput></td></tr>
<input type="hidden" name="RequestID" value="#RequestID#">
</cfoutput>
</cfloop>
<cfloop query="getData">
<cfoutput>
<tr><td align="center">#Lastname#</td><td align="right">#DateFormat(ScheduleDateTime,"ddd, mmmm dd, yyyy")#</td><td>#TimeFormat(ScheduleDateTime,"hh:mm:sstt")#</td><td align="center">#PropertyID#</td><td>#ClientName#</td><td><input type="submit" value="Delete"><cfoutput>#RequestID#</cfoutput></td></tr>
<input type="hidden" name="RequestID" value="#RequestID#">
</cfoutput>
</cfloop>