1854 |
|
FDataLink := TIBDataLink.Create(Self); |
1855 |
|
FQDelete := TIBSQL.Create(Self); |
1856 |
|
FQDelete.OnSQLChanging := SQLChanging; |
1857 |
< |
FQDelete.GoToFirstRecordOnExecute := False; |
1857 |
> |
FQDelete.GoToFirstRecordOnExecute := True; |
1858 |
|
FQInsert := TIBSQL.Create(Self); |
1859 |
|
FQInsert.OnSQLChanging := SQLChanging; |
1860 |
< |
FQInsert.GoToFirstRecordOnExecute := False; |
1860 |
> |
FQInsert.GoToFirstRecordOnExecute := true; |
1861 |
|
FQRefresh := TIBSQL.Create(Self); |
1862 |
|
FQRefresh.OnSQLChanging := SQLChanging; |
1863 |
|
FQRefresh.GoToFirstRecordOnExecute := False; |
1867 |
|
FQSelect.GoToFirstRecordOnExecute := False; |
1868 |
|
FQModify := TIBSQL.Create(Self); |
1869 |
|
FQModify.OnSQLChanging := SQLChanging; |
1870 |
< |
FQModify.GoToFirstRecordOnExecute := False; |
1870 |
> |
FQModify.GoToFirstRecordOnExecute := True; {In Firebird 5, Update..Returning returns a cursor} |
1871 |
|
FUpdateRecordTypes := [cusUnmodified, cusModified, cusInserted]; |
1872 |
|
FParamCheck := True; |
1873 |
|
FGenerateParamNames := False; |