lol wollte ich grade posten !
Zitat:
Hey mkinzler,
in der Doku habe ich nur das gefunden:
Zitat:
5. Running the following code I get the following
exception message:
"Error creating table
handle - Native error: 2001"
void __fastcall TForm1::Button1Click(TObject *Sender)
{
Query->
SQL->Text = "INSERT INTO friends(name) VALUES ('Joseph') " ;
Query->Open();
}
INSERT, UPDATE, and other queries which don't return any data must be called by
TABSQuery->ExecSQL() method instead of TABSQuery->Open().
mfg Norbert