home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / TOOLS / XSOURCE / XSOURCE.ZIP / vfpsource / wizards / Wztable / ado.h next >
Encoding:
Text File  |  1998-05-01  |  1.9 KB  |  48 lines

  1. *- ADO.h
  2. *- #DEFINEs for using ADO
  3.  
  4. *- the ADO constants
  5. #INCLUDE "ADOVFP.h"
  6.  
  7. *- Use the ADO engine
  8. #DEFINE ADOENGINE                "adodb.connection"
  9. #DEFINE JET_PROVIDER_KEY        ".jod"
  10.  
  11. *- Latest version
  12. #DEFINE I_ADO_VERSION                   1.5
  13.  
  14. *- VFP error numbers
  15. #DEFINE I_OLEERROR                        1429
  16.  
  17. *- Access index attributes
  18. #DEFINE dbDescending                   1
  19.  
  20. *- Access relation attributes
  21. #DEFINE dbRelationUnique               1
  22. #DEFINE dbRelationDontEnforce           2
  23. #DEFINE dbRelationInherited               4
  24. #DEFINE dbRelationUpdateCascade         256
  25. #DEFINE dbRelationDeleteCascade        4096
  26. #DEFINE dbRelationLeft            16777216
  27. #DEFINE dbRelationRight            33554432
  28.  
  29. *- Access table attributes
  30. #DEFINE dbSystemObject         -2147483646
  31.  
  32. #DEFINE dbAutoIncrement        16
  33.  
  34. #DEFINE C_NOADO_LOC                "Unable to use ActiveX Data Objects. Access indexes, relations and field data cannot be imported."
  35. #DEFINE C_NOJETPROVIDER_LOC        "Unable to locate a Jet OLE DB provider. The wizard will attempt to use ODBC, but Microsoft Access " + ;
  36.                                 "indexes and relations will not be imported."
  37. #DEFINE C_NOJETOPENMDB_LOC        "Unable to open the Access database with the Jet ADO provider. " + ;
  38.                                 "Indexes and relations will not be imported."
  39. #DEFINE C_OLDDAO_LOC            "The wizard requires ActiveX Data Objects version 3.0 or later.")
  40. #DEFINE C_NOOPENMDB_LOC            "Unable to open Access database."
  41. #DEFINE C_TABLECREATEFAIL_LOC    "Unable to create table "
  42. #DEFINE C_NODATASET_LOC            "Unable to get data from "
  43. #DEFINE C_ADDRELATION_LOC        "Adding relations..."
  44. #DEFINE C_MOVEDATA_LOC            "Moving data..."
  45. #DEFINE C_PROCESSING_LOC        "Processing "
  46. #DEFINE C_BUILDINGINDEX_LOC        "Building index "
  47. #DEFINE C_OLDJETPROVIDER_LOC    "The installed Jet OLE DB provider doesn't support functionality needed to retrieve database information necessary for index creation. You should upgrade to a newer version of the Microsoft Data Access Components to improve importing of Access databases."
  48.