246 |
|
ibxeUnknownUserCharSet, |
247 |
|
ibxeUninitializedInputParameter, |
248 |
|
ibxeNegativeGenerator, |
249 |
< |
ibxeServiceUnavailable |
249 |
> |
ibxeServiceUnavailable, |
250 |
> |
ibxeBadConnectString, |
251 |
> |
ibxeServiceNotStarted, |
252 |
> |
ibxeNotRequiredDataSetSource, |
253 |
> |
ibxeNoLimboTransactionInsert, |
254 |
> |
ibxeDatabaseNotConnected, |
255 |
> |
ibxMultiThreadRequired |
256 |
|
); |
257 |
|
|
258 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |
454 |
|
SUninitializedInputParameter = 'SQL Param No. %d (%s) is uninitialised'; |
455 |
|
SNegativeGenerator = 'A Generator Increment cannot be negative'; |
456 |
|
SServiceUnavailable = 'Request Service is not available'; |
457 |
+ |
SBadConnectString = 'Parse Error in Connect String'; |
458 |
+ |
SServiceNotStarted = 'Cannot Query running service until the service has been started'; |
459 |
+ |
SNotRequiredDataSetSource = 'Object of class %s is not a valid dataset source'; |
460 |
+ |
SNoLimboTransactionInsert = 'You cannot add to a Limbo Transaction list'; |
461 |
+ |
SDatabaseNotConnected = 'Cannot connect using an unattached database'; |
462 |
+ |
SMultiThreadRequired = 'Multi-threading required for %s but not enabled. Please recompile with multi-threading support enabled. '+ |
463 |
+ |
'Hint: you probably need to add -dUseCThreads to the Custom Options.'; |
464 |
|
|
465 |
|
const |
466 |
|
IBErrorMessages: array[TIBClientError] of string = ( |
629 |
|
SUnknownUserCharSet, |
630 |
|
SUninitializedInputParameter, |
631 |
|
SNegativeGenerator, |
632 |
< |
SServiceUnavailable |
632 |
> |
SServiceUnavailable, |
633 |
> |
SBadConnectString, |
634 |
> |
SServiceNotStarted, |
635 |
> |
SNotRequiredDataSetSource, |
636 |
> |
SNoLimboTransactionInsert, |
637 |
> |
SDatabaseNotConnected, |
638 |
> |
SMultiThreadRequired |
639 |
|
); |
640 |
|
|
641 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |