A
Anonymous
Guest
I need to select 2 fields from the db. One field is a key field and the other is a var char field but has dates in it. Unfortunatly the date is being supplied to me as 05/05/2005 so I have to extract it to calculate how many days in stock a vehicle has been. After selecting these 2 fields I run the BookInDate fields through a script to come up with my DaysInStock value. I need to take the values I get for each record and then insert it back into the same table in the DaysInStock field. I then need to run another recordset to extract all vehicles where DaysInstock are greater than 45. I can get the first and last part I'm unclear as to how to take my values calculated after the first recordset and then insert them into the proper record in the DaysInStock field. Any help would be greatly appreciated.