TMVCActiveRecord correnctly handle "DirectExecute" params in Exec* methods

This commit is contained in:
Daniele Teti 2023-07-12 15:01:58 +02:00
parent ee13993501
commit 69d9780b02

View File

@ -3587,7 +3587,8 @@ begin
try
lQry.FetchOptions.Unidirectional := Unidirectional;
lQry.UpdateOptions.ReadOnly := True;
lQry.ResourceOptions.DirectExecute := True; //2023-01-02
lQry.ResourceOptions.DirectExecute := DirectExecute; //2023-07-12
if Unidirectional then
begin
lQry.FetchOptions.CursorKind := ckForwardOnly;