asp help!!
- Started
- Last post
- 3 Responses
- Fher
Pals, regards...
1 question... do you know the asp method that alows me instead of creating a new data entry:
rs.Addnewjust to modify an existing entry??
Thanks!
- trebor0
You will need the id from the entry then you du an rs.Update on that post.
ex (ingore the swedish colum names)
sql = "select * from musik where id = "&Request.QueryString("id")&" "
rs.Open sql, connect, adOpenStatic, adLockOptimisticrs("laten") = Request.Form("laten")
rs("url_laten") = Request.Form("url_laten")
rs("url") = Request.Form("url")
rs("bild") = Request.Form("bild")
rs("grupp_namn") = Request.Form("grupp_namn")
rs("beskrivning") = Request.Form("beskrivning")
rs.Update
rs.Close
- Fher0
THATS IT MAN!!!!
I did not took your code, but i was missing the part
where id = "&Request.QueryString("id")&" "
YOU FUCKING ROCK, thanks, thanks thanks from the bottom of my heart, good vibe to you pal,
live happy and prosperate!
- trebor0
:) glad I could help out!