When True (the default), the primary key field(s) automatically get of_InKey added to optionsfield (the pfInKey equivalent), so they are used in the "where" part of the update statement
Source position: msesqlquery.pas line 270
published property tsqlquery.UsePrimaryKeyAsKey : Boolean |
When True (the default), the primary key field(s) automatically get of_InKey added to optionsfield (the pfInKey equivalent), so they are used in the "where" part of the update statement — whether the field is persistent or not. A calculated field must still have of_InUpdate removed from optionsfield manually to be excluded from the update statement. Also determines whether IndexDefs is populated.