It looks like the parentheses are messing up your link. Try this:
If kayitseti.Fields("Incident Report").Value ="True" Then
Response.Write("<td align=""center""><a href=""incident.asp?CAT=" & kayitseti.Fields("CAD #").Value & """></td>")
This will write out a link to incident.asp and passes the CAT # number in the QueryString, like this:
incidient.asp?CAT=1234
incidient.asp?CAT=4321
On incident.asp you can retrieve the value again:
Dim CatNr
CatNr = Request.QueryString("CAT")
If I were you, I'd rename the Cat # column. Using spaces and special characters in column names is going to get you in lots of troubles.....
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|