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. Database & SysAdmin
  3. Database
  4. MSAccess Column Format property

MSAccess Column Format property

Scheduled Pinned Locked Moved Database
questiondatabase
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.
  • K Offline
    K Offline
    KalliMan
    wrote on last edited by
    #1

    Hi, I 'm Using ADOX from VC(I suppose ADO VB is same that ADO VC) to create tables in Access 2000 and Access 97, containing several columns/fields with the (Yes/No) or(datatime) data type. The format property of these fields is blank and needs to be set to (yes/no) or (format date). I need to make this change by using code and not manually, unfortunatly I can't see any way of accessing the Format property of the field. Is there somebody who know how can I chande Format Property From ADO? Or is there some SQL Statement that can do it? I.e. Something like that: "ALTER TABLE MyTable ALTER COLUMN DataTimeField DataTime (here my format string)" --> ("Medium Date") or ("Long Data") or "ALTER TABLE MyTable ALTER COLUMN YesOrNo YESNO(here my format string)" --> ("Yes/No") or ("True/False") Regards: KalliMan.

    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