Hello all, I am having a difficult time entering new information into a SQL Database that I have setup. My conneciton strings work fine, but I'm hanging up on my primary key. below is the code and the error that I'm recieving. Can someone help a rookie out ?
Code----------------------------
<% dim pkey
set pkey = year(now) & month(now) & day(now) & minute(now) & second(now) %>
<input name="txtid" type="text" id="txtid" value="<%pkey%>">
Error--------------------------
Microsoft VBScript runtime error '800a01a8'
Object required: '[string: "200454142830"]'
Kelly Johnson MCP
Volunters of America Oregon
Code----------------------------
<% dim pkey
set pkey = year(now) & month(now) & day(now) & minute(now) & second(now) %>
<input name="txtid" type="text" id="txtid" value="<%pkey%>">
Error--------------------------
Microsoft VBScript runtime error '800a01a8'
Object required: '[string: "200454142830"]'
Kelly Johnson MCP
Volunters of America Oregon