3 Replies Latest reply on Apr 11, 2007 4:46 PM by <|Mantra|>

    CFC return types

      Is there anyway to have a returntype set and return different data types based on conditions. i.e. Do a query but if the query has no records return false, or a message (string). Meaning you are potentially returning either a query if there's a match or a string, boolean etc if there's not.

      Do you just have to leave the returntype off if you want to do this kind of thing?.

      Thx in advance.