ich habe das Connectionstring direkt in meinen File geschrieben.
_________
set conn = server.createobject("adodb.connection")
conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\inetpub\wwwroot\cms\db.mdb"
SQLstmt = "INSERT INTO article
(id,lang,mid,cat,title,atext,adate,author,act)"
SQLstmt = SQLstmt & " VALUES ("
SQLstmt = SQLstmt & "'" & ID & "',"
SQLstmt = SQLstmt & "'" & lang & "',"
SQLstmt = SQLstmt & "'" & m_id & "',"
SQLstmt = SQLstmt & "'" & cat & "',"
SQLstmt = SQLstmt & "'" & title & "',"
SQLstmt = SQLstmt & "'" & tt & "',"
SQLstmt = SQLstmt & "'" & dat & "',"
SQLstmt = SQLstmt & "'" & author & "',"
SQLstmt = SQLstmt & "" & act & ""
SQLstmt = SQLstmt & ")"
response.write SQLstmt
conn.execute SQLstmt
________
Aber jetzt sagt er mir folgendes:
Microsoft JET Database Engine- Fehler '80004005'
Operation muss eine aktualisierbare Abfrage verwenden.
/cms/admin/article_f.asp, line 43
Ich bekomme aber mit response.write sqlstmt die richtige Anweisung
INSERT INTO article (id,lang,mid,cat,title,atext,adate,author,act) VALUES
('114','eng','100','category name','Josef Balom�s Test','Dies ist ein Test
ob das CMS auch funzt','10.10.2001','New man',1)
| [aspdedatabase] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdedatabase/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdedatabase.asp