While attempting to lessen the performance hit reported in Bulk Inserts I ran into an issue.
Setting:
Code: Select all
UniQuery.Params.ValueCount := 2; Code: Select all
UniQuery.Params.ValueCount := 2; That setter method calls RedimItems which calls VarArrayRedim on any other change which preserves prior data.MaximG wrote:The described behavior is correct. On modifying the UniQuery.Params.ValueCount property, you will lose access to previously created elements.