Results 1 to 2 of 2

Thread: [RESOLVED] Modify Caption Property of Table

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Location
    Washington DC
    Posts
    330

    Resolved [RESOLVED] Modify Caption Property of Table

    How do you set the CAPTION property of the access table/columns you have created in code/dynamically?

    I am not finding any real references on the topic.
    I create,then alter the table using:

    Code:
    "ALTER TABLE " & NewTbl & " ADD COLUMN " & FldName & " " & fldType
    and I want to modify the caption setting at the same time.
    Swoozie
    Somedays you just should not get out of bed.

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Modify Caption Property of Table

    Uhhh Going back to DAO I think (might be wrong) that the caption is a property of the column. I assume that is what you want?

    Once the table has been created, open a tabledef of that table and check its properties.

    MSDN help

    I think that if you can get to it you should be able to change it.

    If you are in ADO you need to get through ADOX, a schema, and check the caption property.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width