First thanks to all for all the help you guys have given. Truly a lifesaver!!!
Okay now for the final...(I hope question)...
how to allow empty strings in date fields? the table can have blank dates but when I leave a field blank on form i get this error
Microsoft JET Database Engine error '80040e07'
Syntax error in date in query expression '##'.
/myweb/Projectlist_copy(11-16-01)(2).asp, line 273
here's the code it refers to:
strSQL = "UPDATE Projects SET " _
& "JobNo='"&Request.Form("JobNo"
&"',"_
& "Title='"&Request.Form("Title"
&"',"_
& "Description='"&Request.Form("Description"
&"',"_
& "Aircraft='"&Request.Form("Aircraft"
&"',"_
& "JobType='"&Request.Form("JobType"
&"',"_
& "Engineer='"&Request.Form("Engineer"
&"',"_
& "Focal='"&Request.Form("Focal"
&"',"_
& "DER='"&Request.Form("DER"
&"',"_
& "DateIn=#"& Request.Form("DateIn"
&"#,"_ 'here I think is the problem and lines below
& "DateDue=#"& Request.Form("DateDue"
&"#,"_
& "8110Due=#"& Request.Form("8110Due"
&"#,"_
& "DTRDue=#"& Request.Form("DTRDue"
&"#"_
& "WHERE (ID="& iRecordId &"
"
Set cnnDBEdit = Server.CreateObject("ADODB.Connection"
cnnDBEdit.Open CONN_STRING
cnnDBEdit.Execute strSQL, adAffectAll, adCmdText or adExecuteNoRecords
/////////////////////////////////////
here is the lines from the request form:
<tr>
<td>Date In</td>
<td><input type="text" name="DateIn" Value="<%=(rstDBEdit.Fields("DateIn"
.Value) %>" ><i>mm/dd/yy</i></td>
</tr>
<tr>
<td>Date Due</td>
<td><input type="text" name="DateDue" Value="<%= (rstDBEdit.Fields("DateDue"
.Value) %>" ><i>mm/dd/yy</i></td>
</tr>
<tr>
<td>8110 Due</td>
<td><input type="text" name="8110Due" Value="<%= (rstDBEdit.Fields("8110Due"
.Value) %>" ><i>mm/dd/yy</i></td>
<tr>
<tr>
<td>DTR Due</td>
<td><input type="text" name="DTRDue" Value="<%= (rstDBEdit.Fields("DTRDue"
.Value) %>" ><i>mm/dd/yy</i></td>
</tr>
Okay now for the final...(I hope question)...
how to allow empty strings in date fields? the table can have blank dates but when I leave a field blank on form i get this error
Microsoft JET Database Engine error '80040e07'
Syntax error in date in query expression '##'.
/myweb/Projectlist_copy(11-16-01)(2).asp, line 273
here's the code it refers to:
strSQL = "UPDATE Projects SET " _
& "JobNo='"&Request.Form("JobNo"

& "Title='"&Request.Form("Title"

& "Description='"&Request.Form("Description"

& "Aircraft='"&Request.Form("Aircraft"

& "JobType='"&Request.Form("JobType"

& "Engineer='"&Request.Form("Engineer"

& "Focal='"&Request.Form("Focal"

& "DER='"&Request.Form("DER"

& "DateIn=#"& Request.Form("DateIn"

& "DateDue=#"& Request.Form("DateDue"

& "8110Due=#"& Request.Form("8110Due"

& "DTRDue=#"& Request.Form("DTRDue"

& "WHERE (ID="& iRecordId &"

Set cnnDBEdit = Server.CreateObject("ADODB.Connection"

cnnDBEdit.Open CONN_STRING
cnnDBEdit.Execute strSQL, adAffectAll, adCmdText or adExecuteNoRecords
/////////////////////////////////////
here is the lines from the request form:
<tr>
<td>Date In</td>
<td><input type="text" name="DateIn" Value="<%=(rstDBEdit.Fields("DateIn"

</tr>
<tr>
<td>Date Due</td>
<td><input type="text" name="DateDue" Value="<%= (rstDBEdit.Fields("DateDue"

</tr>
<tr>
<td>8110 Due</td>
<td><input type="text" name="8110Due" Value="<%= (rstDBEdit.Fields("8110Due"

<tr>
<tr>
<td>DTR Due</td>
<td><input type="text" name="DTRDue" Value="<%= (rstDBEdit.Fields("DTRDue"

</tr>