Is it possible to write asp code or actually an SQL statement for my recordset object, that will update a specific field in a specific record and also add a new record to a db table all at the same time?
if you can't use a stored proc, it gets a little bit harder. Are you going to be adding and updating the same table? If not, then you can't do it with just one query, you'll need to issue at least two queries...
Although you may be able to combine the two queries that you form and separate them with a semicolon. Technically it should work, but don't be surprised if it doesn't.
hth leo
------------
Leo Mendoza
lmendoza@students.depaul.edu
Yes, I am trying to add and update a record in the same table. I'm using an Access database. I know how to add a record and update a record using a query in Access, but I'm not sure how to do that using asp code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.