How about querying the db for the desired month, and ordering by date asc?  Then 
cfloop over that one query's results.

-------------------------------------------
 Matt Robertson,     [EMAIL PROTECTED]
 MSB Designs, Inc. http://mysecretbase.com
-------------------------------------------


---------- Original Message ----------------------------------
From: Austin Govella <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Fri, 30 May 2003 16:32:04 -0500

>> u could try this
>> http://www.adrianlynch.co.uk/coldfusion/customtags/index.cfm?tag=calendar
>
>I've seen several calendar generators like this, and they could work if I 
>knew how to tie them into a db listing the events for a particular class. 
>I can't envision how to do that on my own.
>
>My only brainstorm would be to query the db for each date on the calendar.
>  But that'd be up to 31 queries, and that doesn't seem right. Is this the 
>best way to populate a calendar? It seems really intensive.
>
>--
>Austin
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to