It was pulling in the wrong ADID when showing an image... I had to put #GetAds.ADID# in the Where instead of just #ADID#.
<!--- incrementvalue Adds one to an integer, so it adds one to views---> <CFSET add = incrementvalue(val(GetADs.views))> <CFQUERY datasource="Brooke" name="AddView"> UPDATE dbo.banner_left SET views = #add# WHERE ADID = #GetAds.ADID# </CFQUERY> It seems to be working now. Thank you so much for all your help. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:316483 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4