dbs.inc 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1999-2000 by Michael Van Canneyt, member of the
  5. Free Pascal development team
  6. Constants used for displaying messages in DB unit
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. Const
  14. SUnknownFieldType = 'Unknown field type : %s';
  15. SUnknownField = 'No field named "%s" was found in dataset "%s"';
  16. SNeedFieldName = 'Field needs a name';
  17. SInvalidTypeConversion = 'Invalid type conversion to %s in field %s';
  18. SReadOnlyField = 'Field %s cannot be modified, it is read-only.';
  19. SInvalidFieldSize = 'Invalid field size : %d';
  20. SNoDataset = 'No dataset asssigned for field : "%s"';
  21. SDuplicateFieldName = 'Duplicate fieldname : "%s"';
  22. SFieldNotFound = 'Field not found : "%s"';
  23. SInvalidFieldKind = '%s : invalid field kind : ';
  24. SRangeError = '%f is not between %f and %f for %s';
  25. SNotAninteger = '"%s" is not a valid integer';
  26. SCantSetAutoIncFields = 'AutoInc Fields are read-only';
  27. SNotAFloat = '"%s" is not a valid float';
  28. SInvalidDisplayValues = '"%s" are not valid boolean displayvalues';
  29. SNotABoolean = '"%s" is not a valid boolean';
  30. SInactiveDataset = 'Operation cannot be performed on an inactive dataset';
  31. SActiveDataset = 'Operation cannot be performed on an active dataset';
  32. SNoDatasets = 'No datasets are attached to the database';
  33. SDatasetRegistered = 'Dataset already registered : "%s"';
  34. SNoDatasetRegistered = 'No such dataset registered : "%s"';
  35. SNotConnected = 'Operation cannot be performed on an disconnected database';
  36. SConnected = 'Operation cannot be performed on an connected database';
  37. SNoSuchRecord = 'Could not find the requested record.';
  38. SDatasetReadOnly = 'Dataset is read-only.';
  39. SNeedField = 'Field %s is required, but not supplied.';
  40. SNotInEditState = 'Operation not allowed, dataset "%s" is not in an edit state.';
  41. {
  42. $Log$
  43. Revision 1.3 2000-12-24 12:45:19 peter
  44. * merges from 1.0.x branch
  45. Revision 1.2 2000/07/13 11:32:56 michael
  46. + removed logs
  47. }