Ich bin auch schon mal 3 stunden gesessen, bis ich merkte dass die
variable leer war...

Lass dir bei variante 1 dochmal den sql-string ausgeben....

Gruss, thomas

>-----Urspr�ngliche Nachricht-----
>Von: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED]] Im Auftrag von Thomas Bandt
>Gesendet: Freitag, 21. Februar 2003 13:07
>An: [EMAIL PROTECTED]
>Betreff: [Coffeehouse] Access zickt rum...
>
>
>Hello...
>
>hab' da ne ganz komische Geschichte... ich update einen Record 
>in einer Access-Tabelle... das funktioniert auch... nur ein 
>einziges Feld will er absolut nicht aktualisieren... er spuckt 
>keinerlei Fehlermeldung aus, l�uft ganz normal durch - nur 
>macht er nichts!
>
>Folgendes habe ich schon durch:
>
>1.
>
>strSQL = "Update [categories] Set " &_
>                       "c_name = '" & strName & "', " &_
>                       "c_parent = '" & strParent & "', " &_
>                       "c_description = '" & strDescription & "', " & _
>                       "c_date_update = '" & now() & "' " &_
>                       "Where c_id = '{" & Request("show") & "}'"
>
>oConn.Execute(strSQL)
>
>2. 
>
>Set ors = Server.CreateObject("ADODB.Recordset")
>       ors.Open "Select * From [categories] Where [c_id] = '{" &
>Request("show") & "}'",oConn,adOpenDynamic,adLockOptimistic
>               
>               ors("c_name") = strName
>               ors("c_parent") = strParent
>               ors("c_description") = strDescription
>               ors("c_date_update") = now()
>               
>               ors.Update
>
>ors.Close
>Set ors = Nothing
>
>3. Update mit dem String von 1. in Access direkt...
>
>Wie gesagt, er aktualisiert alle Felder, nur das 
>Description-Feld (Text, 255 Zeichen, Eingabe nicht 
>erforderlich) nicht. Langsam dreh' ich hier echt noch durch... 
>irgendjemand ne Idee?
>
>Th.
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United 
>Planet~~~~~~~~~~~~~~~~~ Kaffeepause im United Planet 
>Communityserver ...
>http://www.intrexx.com/communityserver                         
>_______________________________________________
>Coffeehouse mailing list
>[EMAIL PROTECTED] 
>http://www.glengamoi.com/mailman/listinfo/coffe>ehouse
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~
Kaffeepause im United Planet Communityserver ...
http://www.intrexx.com/communityserver                         
_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an