<%
if request("id")="" then
%>
<%
else 'EDITING!
Set rec = Server.CreateObject("ADODB.Recordset")
rec.ActiveConnection = GlobalConn
rec.Source = "select * from data where id = " & request("id")
rec.CursorType = 0
rec.CursorLocation = 2
rec.LockType = 1
rec.Open()
%>
<%
rec.Close()
SET rec = nothing
end if
%>