Mitre
February 1st, 2001, 07:52 PM
hi... i got a field name called "id" with data type autonumber .and i am trying to use it so that i can know which option the user has picked... the following is some of my code...
in pg1.asp
form method="post" action= " pg2.asp">
input type submit="submit" name="submit" value="view"
dim identity
identity = RS.Fields("id").Value
inside a loop...
input type = "radio" name="radiobutton" value='"identity"'
in pg2.asp
dim ids
ids=Resquest.form("radiobutton")
Response.Write ids
the problem is i dun seem to be able to pass the id value over to the second .asp file.,,, however if i try to pass other fields in this way (eg. by changing identity=RS("title") i was able to pass the valueof title which is not of autonumber datatype)
in pg1.asp
form method="post" action= " pg2.asp">
input type submit="submit" name="submit" value="view"
dim identity
identity = RS.Fields("id").Value
inside a loop...
input type = "radio" name="radiobutton" value='"identity"'
in pg2.asp
dim ids
ids=Resquest.form("radiobutton")
Response.Write ids
the problem is i dun seem to be able to pass the id value over to the second .asp file.,,, however if i try to pass other fields in this way (eg. by changing identity=RS("title") i was able to pass the valueof title which is not of autonumber datatype)