clydejones
Programmer
Hey EveryBody,
I have an ASP page where I am getting a recordset and dynamically building a table. Everything works fine except the field I want to use as a link is a Datetime field. The only thing I get in the QueryString is the date not the whole DateTime Value.
Here is an example of the dateTime value:
1/7/2004 9:02:06 AM
and here is an example of the code I'm trying to use:
response.Write("<td><a href= Test.asp?Param1="&Session
("Param1"
&"&DateTime="&rsLoad.Fields("AppDate"
&">"&rsLoad.Fields("DateTimeField"
&"</a></td>
<td>"&rsLoad.Fields("Field1"
&", "&rsLoad.Fields("Field2"
&" "&rsLoad.Fields("Field3"
&"</td><td>"&rsLoad.Fields("Field4"
&"</td>"
I imagine the spaces between the year and time are killing me. I've tried using single quotes around rsLoad.Fields("AppDate"
, but only get '1/7/2004 in the QueryString. Any suggestions would be greatly appreciated.
Clyde
I have an ASP page where I am getting a recordset and dynamically building a table. Everything works fine except the field I want to use as a link is a Datetime field. The only thing I get in the QueryString is the date not the whole DateTime Value.
Here is an example of the dateTime value:
1/7/2004 9:02:06 AM
and here is an example of the code I'm trying to use:
response.Write("<td><a href= Test.asp?Param1="&Session
("Param1"
<td>"&rsLoad.Fields("Field1"
I imagine the spaces between the year and time are killing me. I've tried using single quotes around rsLoad.Fields("AppDate"
Clyde