Hi,
I'm using DXE6, IW v14.1.6 and IWCG v3.0.0.115.
Regards.
ClientDataSet.FieldDefs.Add('SOME_TEXT',TFieldType.ftString,60);
ClientDataSet.FieldDefs.Add('PERCENT_DONE',TFieldType.ftFloat);
ClientDataSet.CreateDataSet;
ClientDataSet.LogChanges := False;
ClientDataSet.Append;
ClientDataSet.FieldByName('SOME_TEXT').Value := 'This is for some text';
ClientDataSet.FieldByName('PERCENT_DONE').AsFloat := 75.45;
assapan wrote:Hi,
if you debug the application isn't the exception fired when the clientdatatset.open ?
don't you have same problem if you disconnect the datasetprovider ?
assapan wrote:WHy don't you indicate to clientdataset the fields type ? if there is no field type the variant "value" is not defined ! ?
Can you try this ?ClientDataSet.FieldDefs.Add('SOME_TEXT',TFieldType.ftString,60);
ClientDataSet.FieldDefs.Add('PERCENT_DONE',TFieldType.ftFloat);
ClientDataSet.CreateDataSet;
ClientDataSet.LogChanges := False;
ClientDataSet.Append;
ClientDataSet.FieldByName('SOME_TEXT').Value := 'This is for some text';
ClientDataSet.FieldByName('PERCENT_DONE').AsFloat := 75.45;
I'm using DXE6, IW v14.1.6 and IWCG v3.0.0.115.