Ian Littlefair wrote: >Thanks Adam. Could you be a bit more specific please? > > If you output searchResults.columnlist after you've called your stored procedure it should give you the list of columns returned.
However, from your cfdump I would hazard that the column names will be ":B1" and "P_Key". You might want to look at your SP to get it to return your flag column in a valid column name, say something like "login_flag" Hope that helps Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185696 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54