Nice. I'll play, but I will preface this by saying this isn't my code (Seth can attest), but some I came across recently.
Imagine a display page showing all your upcoming appointments. Each row shows a datetime, room number, person's name, etc. Click on a row to go to that appointment's details. Pass an appointmentID to query the details of that specific appt??? Heck no. That's too logical Instead, pass only the datetime of the record. Query for all records on that date, then loop through that recordset til we match the time, then break out of loop and display the details. Efficient, eh? Mark On Thu, Jan 27, 2011 at 1:41 PM, Billy Cravens <[email protected]> wrote: > Came across this gem in my code today: > > > <cfoutput>#callResults[callResult.callResult]#</cfoutput> > > Yes, I wrote it. :-) > > > Anyone else up for some self-deprecating humor? Anyone have anything > similarly nice and ugly? > > Billy Cravens > > -- > You received this message because you are subscribed to the "Houston > ColdFusion Users' Group" discussion list. > To unsubscribe, send email to [email protected] > For more options, visit http://groups.google.com/group/houcfug?hl=en -- You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [email protected] For more options, visit http://groups.google.com/group/houcfug?hl=en
