Hi
Here is an example
<html><body>
<%
dim strName, strBirthdate
strName = Request.Form ("Fname"

strBirthdate = Request.Form ("birthdate"
' if both are blank then show the form
' if they have values but are incorrect then show form with values
' if all correct then go to the add member to db page
if (strName ="" and strBirthdate=""

then
call show_form()
elseif (strName<>"" and strBirthdate<>""

then
if strName = "" or not isdate (strBirthdate) then
Response.Write "Some data in error"
show_form()
end if
else
insert_data()
end if
SUB show_form()%>
<form name = entry action = formpage.asp method = post>
Name: <input name = Fname value = "<%=strName%>" type = text size = 20>
Birthdate: <input name = birthdate value ="<%=strBirthdate%>" type = text size = 10>
<input type = submit value = submit></form><%
END SUB
%>
<%
SUB insert_data()
'post the data to the database
'you will need to adjust this to match your DB setup
set objCN = server.CreateObject ("adodb.connection"

strConn ="DSN=lynnsDB"
'"DSN=LynnsDB;DBQ=C:\Inetpub\
Access;MaxBufferSize=2048;PageTimeout=5;"
'create the recordset and the SQl statement, then hit the DB
set objRS = server.CreateObject ("adodb.recordset"
'create the SQL statement to update the DB
strSQL = "insert (name, birthdate) into mytable values(strName, strBirthdate)"
objCN.Open strConn
set objRS.ActiveConnection=objCN
objRS.open strSQL
%>
</body></html>
this will give you some of the basics of what you are looking for. You can add a section to call the data back from the DB to put the data back in the form.
hth
Bastien
There are many ways to skin this cat,
but it still tastes like chicken