Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to get the date value

Status
Not open for further replies.

gradinumcp

IS-IT--Management
Apr 6, 2005
85
US
Here's my code where the user picks a date and I want to use that value elsewhere. However I am unable to get the date value--any clues???

Iam using <%=gms("autonum")%>" with the PullDate becoz i have PullDate box multiple times on my page--so i need to uniquely identify it.

Here's the code:

<form method=POST name=Page1<%=gms("autonum")%>>
<table cellpadding=1 cellspacing=1 align=center border=0 width=80%>
<tr>

<td class=tabletd7><%=gms("Fullname")%>:</td>

<td class=tabletd7 colspan=2>Week:&nbsp;&nbsp;<input class=fields readonly name="PullDate<%=gms("autonum")%>" <% if request("PullDate")<>"" then %>value="<%=request("PullDate")%>"<% else %>value="<%=Date()%>"<% end if %>>&nbsp;&nbsp;<a href="javascript:show_calendar('Page1<%=gms("autonum")%>.PullDate<%=gms("autonum")%>');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=13 height=10 border=0></a>&nbsp;&nbsp;

<a href="TimeReport.asp?PullDate=<%=request("PullDate")%>&act5=View">View</a>

</tr>
</table>
</form>

The page that comes up shows up as
So basically it does not retrieve the PullDate value.

Any help???
 
i dont see a form field name PullDate, then how can you access using request("PullDate")

-DNG
 
Well the name of the form field is PullDate<%=gms("autonum")%>.

How do I pull that??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top