[Gambas-user] Result object

Charlie Reinl Karl.Reinl at ...2345...
Tue Nov 16 23:16:22 CET 2010


Am Dienstag, den 16.11.2010, 21:44 +0100 schrieb tobias:
> Charlie Reinl schrieb:
> > Am Montag, den 15.11.2010, 19:56 +0100 schrieb tobias:
> >> hi,
> >> i have again another question about the result object...
> >> when i do:
> >> hResult = hConnection.Edit("table")
> >>
> >> i get a read/write result, i can move through the elements and edit 
> >> their fields, e.g.
> >> hResult.MoveTo(2)
> >> hResult["id"] = 10
> >>
> >> right?
> >> but where do i have to move to to add one (or more) new element/s??
> >>
> > Salut Tobias,
> > 
> > hResult = hConnection.Create("table")
> > 
> > should to the job
> > 
> this maybe works but in theory i can't imagine why...?
> 
Sorry, I can't follow you.

EDIT reads something which can be handeled read/write afterwards.

Where is the problem with CREATE  ?

CREATE, creates something new, and throws immediately an EDIT.

So, EDIT reads something which can be handeled read/write afterwards. 

-- 
Amicalement
Charlie





More information about the User mailing list