Write data in ClientDataset

edited 12:55AM in FastScript
Hi

I'm now testing FastScript and I have a doubt:

I have a Delphi form with 1 ClientDataset, 1 DBGrid and 1 TfsScript.
The script code needs to read a file and write in the dataset.
The reading of the file, the TfsScript is already doing correctly.
But how I do to write the data in my ClientDataset?

TIA,

Rafael Garcia

Comments

  • edited 12:55AM
    FastScript does not know about TClientDataset. In order to work with it you should add it to fsGlobalUnit (see manual how to add a class with methods and properties)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.