dbs.inc 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. {
  41. $Log$
  42. Revision 1.1 2000-07-13 06:31:27 michael
  43. + Initial import
  44. Revision 1.7 2000/01/07 01:24:32 peter
  45. * updated copyright to 2000
  46. Revision 1.6 2000/01/06 01:20:32 peter
  47. * moved out of packages/ back to topdir
  48. Revision 1.1 2000/01/03 19:33:06 peter
  49. * moved to packages dir
  50. Revision 1.4 1999/11/12 22:53:32 michael
  51. + Added append() insert() tested append. Datetime as string works now
  52. Revision 1.3 1999/11/11 17:31:09 michael
  53. + Added Checks for all simple field types.
  54. + Initial implementation of Insert/Append
  55. Revision 1.2 1999/10/24 17:07:54 michael
  56. + Added copyright header
  57. }