TMS Web core Dataset no post

Hi everyone,

im trying to program a webapplication to load data into a grid and save new data via XDatawebdataset.
Loading Data is working smoothly, but when i want to insert a new record there just happens nothing when i look into the browser development tab.The DataSet is connected to a datasource and the entity name is given as well as the fields. Server is running and i can access the application.

The Code to save the new record is as follows:

DataSetArtikelneu.Insert;
DataSetArtikelneu.Post;

ShowMessage('Success');

and on new record within the Dataset is:

procedure TForm1.DataSetArtikelneuNewRecord(Dataset: TDataSet);
begin
// DataSetArtikelneuID.Value := 0;
DataSetArtikelneuArtnr.AsString := 'test';
DataSetArtikelneuBezeichnung.AsString := 'YEAY';
end;

there is no error or anything, but i dont set a post on the browser dev tab and nothing is inserted into the database. What could be the mistake here..?

thanks in advance
fabian

ok, forgot to call applyupdates... all good now!

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.