FetchRows must be 1..65535
Posted: Mon 12 Mar 2012 15:08
DACProviderQuery := TUniQuery.Create(Self);
DACProviderQuery.CachedUpdates := True;
//DACProviderQuery.LocalUpdate := True;
DACProviderQuery.Options.SetFieldsReadOnly := False;
DACProviderQuery.Options.RequiredFields := False;
DACProviderQuery.Options.EnableBCD := False;
DACProviderQuery.Options.EnableFMTBCD := True;
//DACProviderQuery.Options.TrimVarChar := True;
DACProviderQuery.UniDirectional := True;
DACProviderQuery.ReadOnly := True;
//DACProviderQuery.SpecificOptions.Values['FetchAll'] := 'False';
DACProviderQuery.Options.StrictUpdate := False;
But the execution to the "DACProviderQuery.ReadOnly := True;", then raise a exception "FetchRows must be 1..65535"
When I commented on this line, running well
The above code in version 3.7 is no problem, change to appear after 4.1.5
at build with runtime packages
thanks
DACProviderQuery.CachedUpdates := True;
//DACProviderQuery.LocalUpdate := True;
DACProviderQuery.Options.SetFieldsReadOnly := False;
DACProviderQuery.Options.RequiredFields := False;
DACProviderQuery.Options.EnableBCD := False;
DACProviderQuery.Options.EnableFMTBCD := True;
//DACProviderQuery.Options.TrimVarChar := True;
DACProviderQuery.UniDirectional := True;
DACProviderQuery.ReadOnly := True;
//DACProviderQuery.SpecificOptions.Values['FetchAll'] := 'False';
DACProviderQuery.Options.StrictUpdate := False;
But the execution to the "DACProviderQuery.ReadOnly := True;", then raise a exception "FetchRows must be 1..65535"
When I commented on this line, running well
The above code in version 3.7 is no problem, change to appear after 4.1.5
at build with runtime packages
thanks