I have Insufficient memory error with TClientDataset with TStringField fields. I need to use length of strings from 0 to 8000 - but don't know what length will be until I fill the TClientDataset.
So, can TStringField be created with dynamic Size?
P.S. The initial task is to copy TDBGrid to TClientDataset.
I have used the following solution. First, calculate maximum
Sizesbased onLength(aDBGrid.Columns[i].Field.DisplayText). Then createTStringFieldswith the calculatedSizes.P.S. The initial task is to copy TDBGrid to TClientDataset.