Get the created date for a Table in MS Access

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Redeemed1
    New Member
    • Sep 2007
    • 3

    Get the created date for a Table in MS Access

    Can any one help me? I need to retrieve the created date of a given table in MS Access using VBA. (If the date = today's date then I will run my query, else I will have to wait until the table has been updated.) Thank you.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Do u want date of table creation or the date of last transaction on the table ?

    Comment

    • Redeemed1
      New Member
      • Sep 2007
      • 3

      #3
      Originally posted by debasisdas
      Do u want date of table creation or the date of last transaction on the table ?
      I just need to know when the table was created. Thank you.

      Comment

      • QVeen72
        Recognized Expert Top Contributor
        • Oct 2006
        • 1445

        #4
        Hi,

        Try this :

        [code=vb]
        CurrentDb.Table Defs("TableName ").DateCrea ted
        CurrentDb.Table Defs("TableName ").LastUpda ted
        [/code]

        Regards
        Veena

        Comment

        • Redeemed1
          New Member
          • Sep 2007
          • 3

          #5
          Originally posted by QVeen72
          Hi,

          Try this :

          [code=vb]
          CurrentDb.Table Defs("TableName ").DateCrea ted
          CurrentDb.Table Defs("TableName ").LastUpda ted
          [/code]

          Regards
          Veena
          Thank you very much!

          Comment

          Working...