What's the syntax to read, write and save into a TClientDataSet within a Datamodule
@PacurariuStelian7 жыл бұрын
in this example is : //for opening the file and read data dbmodule.customersdataset.createdataset; dbmodule.customersdataset.loadfromfile(''); //for writing and saving data to file dbmodule.customersdataset.append; {to add new rows} dbmodule.customersdataset.edit; {to edit selected row} dbmodule.[customerdatasetfield].value:=[variable]; {use designed field to set a value} dbmodule.customersdataset.mergechangelog; dbmodule.customersdataset.savetofile('');