Forums

This topic is locked

Pure ASP Upload 2.10 problem

Posted 03 Apr 2003 16:18:38
1
has voted
03 Apr 2003 16:18:38 John Gough posted:
I'm an avid fan of Pure Upload but find the NEW version to cause problems with a simple form...is it me or the code??

Using XP and Access2002 I get a record not found error on the Lastname, hwkTitle, rsClass and Hwkdue fields that are NOT part of the form...they are populated with data and display there contents when on the submit page but kick out the error when the Insert Server behavior is activated...the error message seems to have nothing to do with the form...

<table width="550" border="0" cellspacing="0" cellpadding="4" align="center">
<tr valign="top">
<td class="text">Teacher Last Name:<br>
<span class="boldtxt"><%=(tblAssignments.Fields.Item("Lastname".Value)%></span> </td>
<td class="text">Homework Title:<br>
<span class="boldtxt"><%=(tblAssignments.Fields.Item("hwkTitle".Value)%></span> </td>
<td class="text">Course Name/Period:<br>
<span class="boldtxt"><%=(tblAssignments.Fields.Item("rsClass".Value)%></span> </td>
</tr>
<tr valign="top">
<td class="text">Assignment Due Date: <span class="red"><font color="#FF0000"><strong><%=(tblAssignments.Fields.Item("Hwkdue".Value)%></strong></font></span> </td>
<td colspan="2" class="text">Submitted: <span class="boldtxt"> <%=Now()%></span></td>
</tr>
<form ACTION="<%=MM_editAction%>" METHOD="POST" enctype="multipart/form-data" name="submit" onSubmit="checkFileUpload(this,'',true,4000,'','','','','','');return document.MM_returnValue">
<tr valign="top">
<td width="182" class="text">Student First Name:<br>
<input type="text" name="StuFirstName" size="12">
</td>
<td width="141" class="text">Student Last Name:<br>
<input name="StuLastName" type="text" id="StuLastName" size="12">
</td>
<td width="215" class="text">Student ID:<br>
<input name="StuID" type="text" id="StuID" size="8" maxlength="8">
</td>
</tr>
<tr valign="top">
<td width="182" align="right" class="text">My Assignment File:</td>
<td colspan="2" class="text">
<input name="Filename" type="file" id="Filename" onChange="checkOneFileUpload(this,'',true,4000,'','','','','','')" size="20">
<br>
<span class="red">Limited to 4000 Kbs in size </span></td>
</tr>
<tr valign="middle">
<td colspan="3" height="40">
<div align="center">
<input type="hidden" name="Ident" value="<%=(tblAssignments.Fields.Item("Ident".Value)%>">
<input name="rsClass" type="hidden" id="rsClass" value="<%=(tblAssignments.Fields.Item("rsClass".Value)%>">
<input name="HomeworkTitle" type="hidden" id="HomeworkTitle" value="<%=(tblAssignments.Fields.Item("hwkTitle".Value)%>">
<input type="hidden" name="DueDate" value="<%=(tblAssignments.Fields.Item("Hwkdue".Value)%>">
<input name="rsStandard1" type="hidden" id="rsStandard1" value="<%=(tblAssignments.Fields.Item("standard1".Value)%>">
<input name="rsStandard2" type="hidden" id="rsStandard2" value="<%=(tblAssignments.Fields.Item("standard2".Value)%>">
<input name="rsDescription" type="hidden" id="rsDescription" value="<%=(tblAssignments.Fields.Item("Description".Value)%>">
<input name="rsResources" type="hidden" id="rsResources" value="<%=(tblAssignments.Fields.Item("Resources".Value)%>">
<input name="rsUrl1" type="hidden" id="rsUrl1" value="<%=(tblAssignments.Fields.Item("hypResourceurl".Value)%>">
<input name="rsUrl2" type="hidden" id="rsUrl2" value="<%=(tblAssignments.Fields.Item("hypResourceurl2".Value)%>">
<input name="rsNote" type="hidden" id="rsNote" value="<%=(tblAssignments.Fields.Item("rsNote".Value)%>">
<input name="AddDate" type="hidden" id="AddDate" value="<%=Date()%>">
<input name="Submit" type="submit" value="Submit Homework">
</div>
</td>
</tr>
<input type="hidden" name="MM_insert" value="submit">
</form>
</table>


Thanks
John

Replies

Replied 04 Apr 2003 09:04:00
04 Apr 2003 09:04:00 Martha Graham replied:
Please download and install the latest version. We fixed the problem with the insert record behavior.

Martha Graham

Reply to this topic