hahahahaha, well i do learn new things by experimenting..
Anyways, the secret code this timefor me was BEEFS as aussies eat a lot????
What i am actually trying is i hav eone table like login and i do not want to delete all records of login.. if the record is last then my query should not delete it
Hope u underdtand
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Door to Coldfusion Community Will Remain Open Till World Ends
OK, lets rub our brain cells together and think about the problem
in your example that you tried
<cfif table.recordcount LTE 0> which means if it is less than or equal to 0 and you said you do not to get down to 0 records, so if you want it to only go down to 1 (one) record then what number would you use??? would you use 0?? no, you would use 1 (one) and also not "less than" 1 (one)
<cfif table.recordcount EQ 1>
hth ~megan
We have art so that we shall not die of reality ~ Nietzsche