Edit:
Delphi-Quellcode:
procedure TForm2.Button6Click(Sender: TObject);
begin
idx := InputBox('User löschen', 'Bitte UserID eingeben', '');
FResult := FMysql.query(idx, true, ex);
if idx = '' then
begin
showmessage('Keine UserID eingegeben');
exit;
end else
begin
s := 'DELETE FROM Pendlerboerse WHERE userid = 98;';
FResult := FMysql.query(s, true, ex);
if assigned(FResult) then
begin
TableContent;
end else
begin
showmessage(fmysql.lasterror);
end;
end;
end;
Dieser Code sagt: "Table 'Pendlerboerse.Penlderboerse' doensn't exist"
(?!)