I am needing to get the next available ID from my (permanent)advertisements table and be able to hang onto it until a user checks out and I do a final insert. What happens is the user does the following things.
1. User clicks on (Create advertisement) link and that is when I need to get the new ID for insert from the final ads table. 2. User creates ad and it is placed into a temporary ads table until checkout is complete. I need to place this (ID) into this table temporarily. 3. Once user completes checkout and I receive back verification, I will be quering the temp table and inserting the results into the final ads table. I am wondering how I can go about this while guaranteeing that the ID selected will not get used by another user during this process. I think there was another post touching on the subject earlier, but I think it was a little different scenario. Any help is appreciated. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263117 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

