> I have a query that when the query returns something, it does
> the stuff in the <cfoutput Query = "check_registration">
> section.  When it returns no hits, it totally skips the
> cfoutput.  I'm new to cf and dbs but our cf guy here says it
> should do the cfoutput no matter what and then it should
> properly do the iff to test whether something was returned.

When you loop over a query with CFOUTPUT (or CFLOOP, for that matter), it
loops once for each record in the recordset. If you have an empty recordset
(zero records), it'll loop zero times.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to