Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. DAO SDK

DAO SDK

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++sharepointdatabasevisual-studio
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dan o
    wrote on last edited by
    #1

    Hi, i have following problem, i have application which is linked with ddao35.lib (ddao35.dll) (change table properties, like validation rule)this was org. built for a access 97 database. now i like to update my application for usage access 2000 together with access 97 so with SP 5 for visual studio 6.0 a project (ddao.cpp) was shipped, new dll ddao36.lib (ddao36.dll) could be built now i linked my application with ddao36.lib and everything goes well for a access 2000 database, but for access97 database is code still running but after opening the database in access97 i see that some modifications are not done a function like this, won't work for access 97 (running without errors) void ChangeTableValidation(CString strDBFileName, CString strTableName, CString strFieldName, CString strValidation) { CdbDBEngine dbEngine; CdbDatabase dbDatabase = dbEngine.OpenDatabase(strDBFileName, FALSE); CdbTableDef dbTableDef = dbDatabase[strTableName]; CdbField dbField = dbTableDef[strFieldName]; dbField.SetValidationRule(strValidation); } perhaps has somebody any idea about this, :confused: Dan O

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups