[Pas2js] Post in TSQLDBRestDataset

Gabriele Cappelletto cappelletto at inwind.it
Mon Apr 12 11:47:36 CEST 2021


Good morning,
i can't modify a TSQLDBRestDataset, ie it seems that the post method is 
not sending to the server

Server side I put:

FDisp.ExposeDatabase(TIBConnectionDef.TypeName,'localhost','/var/tmpGabry/testrest.fdb','SYSDBA','masterkey',Nil,
            [foFilter,foInInsert,foInUpdate,foOrderByDesc]);


Client side I put:   FData is TSQLDBRestDataset


   FData.Post;
   FData.ApplyUpdates;

   instead I didn't call any method in TSQLDBRestConnection


What did I forget to do?

Thanx







More information about the Pas2js mailing list