Einstein47
Programmer
My problem is that I don't know how to determine if I should do an insert or an update on an Access DB table.
I am writing the code for an online game. If the weekly winner exists in the winners table, then I want to update his/her score. However, if the winner has not won before there will be no record in the winner table for him/her, and I will need to insert a new record.
What is the best code to determine the update vs insert dilemma?
Also - can I use temp tables in Access and ASP? If I could then it may make my life easier, but I have no clue to the syntax of temp tables for Access. If anyone could point me to a good resource, I would be very happy. Einstein47
(How come we never see the headline, "Psychic Wins Lottery"?)
I am writing the code for an online game. If the weekly winner exists in the winners table, then I want to update his/her score. However, if the winner has not won before there will be no record in the winner table for him/her, and I will need to insert a new record.
What is the best code to determine the update vs insert dilemma?
Also - can I use temp tables in Access and ASP? If I could then it may make my life easier, but I have no clue to the syntax of temp tables for Access. If anyone could point me to a good resource, I would be very happy. Einstein47
(How come we never see the headline, "Psychic Wins Lottery"?)