> I am using a varent from sparty2809 on http://tutorial323.easycfm.com/ 
> It works great but was created for ACCESS and uses an autonumber 
> datatype. Its great when you just keep adding advertisments but when 
> you delete one there is now a gap in the +one ADID (int - identity 
> specification).  When the RandRage counts the MAX ADIDs and then picks 
> a ad.  If it hit the number that was deleted it just shows.. nothing. 
> This is a code breaker for me i cant have gaps.


Could you convert your query data into an array? 

Then get a randRange() using the arraylen(). 

Then refer to your array with the randRange number.

Will 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316229
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to