Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%
' define variables
dim GmRecordSet
dim GmConnection
dim sqlGmInsert
' set connections and open DB for insert
set GmConnection = server.createobject("adodb.connection")
GmConnection.Open WriteStrConnection
' build sql to insert one record with the field
' SomeValue (an integer in table gmTry) set to 966
sqlGmInsert = "insert into gmTry (SomeValue) values (966)"
' execute insert statement
GmConnection.Execute sqlGmInsert
' associate record set with connection and query
' @@identity to get key for last record inserted
set GmRecordSet = GmConnection.Execute("Select @@identity justInserted")
response.write "the last record inserted has a key of " & gmRecordSet("justInserted")
%>