[On ti, 15 jun 2004 16:17:38 GMT, "Nils Nyvang Bacher" wrote (link:
<news:40cf2126$0$275$edfadb0f@dread12.news.tele.dk>)]:
[deletia]
> strSQL = "Select * FROM cahpers WHERE afdeling =" &
> Request.QueryString("afdeling")
> Set rs=Conn.Execute(strSQL)
>
> Hvad gør jeg galt?
Der skal 'er omkring variabler i en SQL-streng.
strSQL = "Select * FROM cahpers WHERE afdeling = '" &
Request.QueryString("afdeling") & "'"
Det skulle gerne virke...
--
Mikoangelo - webmaster of
http://harrypotter.lk-data.net
Scrambled email (ROT-13):
uneelcbggre [on] yx [hyphen] qngn [spot] qx