you can also do something like this to avoid the insert sql statements if you're newer to asp
set rs = server.createobject("ADODB.recordset"
rs.open "INSERT INTO tblname", connection,2,2
rs.addnew
rs("name"=request.form("name"
rs.update
this takes the form name value and puts it into the name column at the end of the records with the addnew method and update. A lot of people use this way for many reasons but it seems like a easy way to start off before messing with doing this via the sql statement. remember that the directory where the DB is has to be writable for any insert to work. You cannot mandate productivity, you must provide the tools to let people become their best.
-Steve Jobs
admin@onpntwebdesigns.com
sorry that should be
rs.open "SELECT * FROM tblname", connection,2,2
not
rs.open "INSERT INTO tblname", connection,2,2
You cannot mandate productivity, you must provide the tools to let people become their best.
-Steve Jobs
admin@onpntwebdesigns.com
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.