[Gambas-user] Delete record in DB
Peter
k-p.richter at ...20...
Sat Mar 12 18:13:28 CET 2005
Hallo all,
a short while ago I work with MySQL in Gambas. It's all ok, but I have 2
problblems:
1.
$hConnect is open ...
PUBLIC SUB ktoloeBUT_Click()
DIM ktoRes AS Result
$hConnect.Begin
ktoRes = $hConnect.Edit("Konten")
FOR EACH ktoRes
IF ktoRes!konto = ktoCBX.Text THEN
ktoRes.Delete
BREAK
ENDIF
NEXT
$hConnect.Commit
END
The found konto - record is not deleted! What I make false?
2. It's possible to define a autoincrement field for a Table in Gambas?
Regards
Peter
More information about the User
mailing list