|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 4 of 4 total|
|Dynamic DataSet Problem|
|Sat, Apr 16 2016 12:28 PM||Permanent Link|
Wood for the trees moment, but I need to dynamically create a dataset inside a class. Extracted code :
dc : TDataColumn;
dcList : TDataSets;
Clients : TDataSet;
dcList := TDataSets.Create;
Clients := TDataSet.Create;
Clients.Name := 'dsClients';
Clients.DataSetName := 'dsClients';
dc.Name := 'id';
dc.DataType := dtInteger;
dc.Calculated := False;
dc.Length := -1;
dc.Scale := -1;
dc.ReadOnly := False;
How do I now add "dc" (and the many others I need to create) to the data set? I just can't get my head around it.
|Sat, Apr 16 2016 12:30 PM||Permanent Link|
For the love of Pete ...
Ok, I forgot that the online help is more up to date than the embedded help or the PDF. I can see examples there.
I'll follow those. Sorry.
|Sat, Apr 16 2016 1:04 PM||Permanent Link|
Might as well post the link for completeness in case it helps anyone else save the 4 hours I just spent trying to work it out :
|Mon, Apr 18 2016 10:28 AM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< Ok, I forgot that the online help is more up to date than the embedded help or the PDF. I can see examples there. >>
That is definitely not the case, at least not for anything major. There are some spelling corrections in there, but that's about it.
This web page was last updated on
Wednesday, March 29, 2023 at 10:59 PM
© 2023 Elevate Software, Inc. All Rights Reserved
Questions or comments ? E-mail us at email@example.com