[Gambas-user] strang !!! (bug maibe)

Benoit Minisini gambas at ...1...
Wed Jun 8 17:15:35 CEST 2005


On Tuesday 07 June 2005 15:14, Daniel wrote:
> Benoit Minisini wrote:
> >On Monday 06 June 2005 17:27, Daniel wrote:
> >>hi all
> >>il you put this code in one button, the first time you click no problem
> >>and the second time and after
> >>"Type mismatch: wanted integer, got      instead"
> >>i tink the problem com from the { htable.primarykey = ["id"] }
> >>
> >>  DIM hTable AS Table
> >>
> >>  IF con1.Tables.Exist("ZOZO") THEN
> >>    con1.Tables.Remove("ZOZO")
> >>  ELSE
> >>    PRINT "No Table ZOZO"
> >>  ENDIF
> >>
> >>  hTable = Con1.Tables.Add("ZOZO")
> >>
> >>  hTable.Fields.Add("id", gb.Integer)
> >>  hTable.Fields.Add("firstname", gb.String, 16)
> >>  hTable.Fields.Add("name", gb.String, 32)
> >>  hTable.Fields.Add("birth", gb.Date)
> >>  hTable.Fields.Add("actived", gb.Boolean)
> >>  hTable.Fields.Add("salary", gb.Float)
> >>
> >>  hTable.PrimaryKey = ["id"]
> >>
> >>  hTable.Update
> >>
> >>daniel
> >
> >Please tell which version of gambas you are using!
>
> gambas 1.9.5
>
> daniel
>

Do you have this problem with 1.9.9 ?

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list