Componentes.Terceros.SDAC/internal/4.10.0.10/1/Source/DAConsts.pas
2007-10-05 14:48:18 +00:00

116 lines
4.9 KiB
ObjectPascal

//////////////////////////////////////////////////
// DB Access Components
// Copyright (c) 1998-2007 Core Lab. All right reserved.
// DB Access constants
//////////////////////////////////////////////////
{$IFNDEF CLR}
unit DAConsts;
{$ENDIF}
interface
const
{$IFDEF CLR}
LineSeparator = #$D#$A;
{$ELSE}
LineSeparator = #$D;
{$ENDIF}
// TStringList line separator
{$IFDEF LINUX}
SLLineSeparator = #$A;
{$ELSE}
SLLineSeparator = #$D#$A;
{$ENDIF}
Tabulation = #9;
MaxUTF8CharLen = 3;
resourcestring
SUnknownDataType = 'Unknown data type';
SDataTypeNotSupported = 'Data type is not supported';
SFieldNotFound = 'Field %s not found';
SAttributeNotFount = 'Attribute %s not found';
SCannotConvertType = 'Cannot convert type';
SIllegalFilter = 'Illegal filter expression';
SNeedBlobType = 'Field is not BLOB';
SInvalidSharedObject = 'Invalid SharedObject';
SInvalidBlob = 'Invalid BLOB';
SBlobMustBeCached = 'Blob must be in cached mode';
SCachedAlreadyEnabled = 'Cached is already enabled';
SKeyFieldsRequired = 'Key fields required to call FindKey or FindNearest';
SKeyFieldsReq = 'Unique keyfields required';
SNoKeyFields = 'Key fields not found';
SBadTableInfoName = 'TableInfo name must be provided';
SBadStatementType = 'Bad statement type';
SBadUpdatingTable = 'Wrong UpdatingTable value - table %s is unknown';
SInvalidUnComprBlobSize = 'Invalid uncompressed blob size';
SInvalidComprBlobSize = 'Invalid compressed blob size';
SInvalidComprBlobHeader = 'Invalid compressed blob header';
SInvalidComprBlobData = 'Invalid compressed blob data';
SDataSetIsNotPrepared = 'DataSet is not prepared';
SInvalidKeyField = 'Error in KeyFields string';
SNotCachedUpdate = 'Not in cached update mode';
SUpdateWrongDB = 'Cannot update, %s is not owned by %s';
SConnectionNotDefined = 'Connection is not defined';
SCannotConnect = 'Cannot connect to database';
SMacroNotFound = 'Macro %s not found';
STransactionInProgress = 'User transaction is already in progress';
SUpdateFailed = 'Update failed. Found %d records';
SRefreshFailed = 'Refresh failed. Found %d records';
SInvalidFetchRows = 'FetchRows must be 1..10000';
SNoCorrespondParam = 'Not found field corresponding parameter %s';
SUnknownParamDataType = 'Unknown type of parameter %s';
SRecordChanged = 'Record was changed by another user';
STableNameNotDefined = 'TableName must be defined';
SStoredProcNotDefined = 'StoredProcName must be defined';
SConnectionIsClosed = 'Operation is not allowed when the connection is closed';
SCannotPerformIfPooling = 'Operation is not allowed when Pooling is True';
SMaxConnectionsReached = 'Maximum connections reached in pool';
SDataSetNotDefined = 'DataSet must be defined';
SCannotChangeIsUnicode = 'Cannot change IsUnicode if Size > 0';
SColumnNotFound = 'Column %s not found';
SNoTimers = 'Not enough timers available';
sBlobNotCompressed = 'Blob is not compressed';
SCompressorNotLinked = 'Compressor function is not linked';
SUncompressorNotLinked = 'Uncompressor function is not linked';
SUpdateComponentCircularReferences = 'Circular references are not allowed between TCustomDADataset and TCustomDAUpdateSQL objects';
SUpdateComponentInvalidType = 'Only %s and %s objects are allowed in update properties';
SUpdateObjectEmptySQL = 'SQL property of InsertObject, ModifyObject, DeleteObject or RefreshObject cannot be empty';
SDateEncodeError = 'Invalid argument to date encode';
SInvalidXML = 'Invalid XML document';
SWrongTblCount = 'To execute BackupQuery TableNames must have not more than one table';
SBHCaption = '-- %s version: %s'#$D#$A +
'-- %s server version: %s'#$D#$A +
'-- %s client version: %s'#$D#$A +
'-- Script date %s'#$D#$A +
'-- ---------------------------------------------------------------------- '#$D#$A +
'-- Server: %s'#$D#$A +
'-- Database: %s'#$D#$A#$D#$A;
SBHTableData = '-- '#$D#$A +
'-- Dumping data for table %s'#$D#$A +
'-- '#$D#$A#$D#$A;
SAreYouSureRestore = 'Are you sure to restore data?';
SInvalidBatchMove = 'Invalid batch move parameters';
SCannotFindField = 'Cannot find field';
SInvalidLexem = 'Invalid lexem "%s" at position %d in statement:'#$D#$A'%s';
SEmptySQLStatement = 'No SQL statement provided';
SInvalidBlobPosition = 'Invalid BLOB position';
implementation
end.