MS Access: setting table column Caption or Description in DDL?

后端 未结 2 1262
灰色年华
灰色年华 2020-12-12 01:13

Is it possible to set a table column\'s Caption or Description properties in MS Access using DDL? Ideally, we could include them in a CREATE TABLE statement.

2条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 02:00

    Alas, it's not possibile to change or set some properties of a table or field by Access DDL. We had a similar problem, involving also relations between tables, and we resorted to DAO.
    It' quite simple anyway, you'll be using objects such as DAO.Database, DAO.TableDef and DAO.Field.

提交回复
热议问题