PowerDesigner导出数据库表格的自定义格式到WORD

1、工具条上选择Shows the list of Reports然后选择new  ----> Report

点击确定

 

2、中间是可以生成文档的项目。右侧是你需要生成的项目,双击即可添加到右侧,大家可以慢慢研究,这里只选择其中的两项。

选中table--下的list of table column,双击。

 

3、选中项右键点击layout,进入

扫描二维码关注公众号,回复: 222281 查看本文章

根据需求选中需要显示的列明细信息。

 

一般设置如下6列即可:

Name:名称

Code:编码

Data Type:数据类型

Length:长度

Mandatory: 强制(是否为空)

Primary: 主键

Foreign Key: 外键

 

右键选择table下的Edit Title...选择Insert可以修改左侧导航表名称显示格式,如下:%ITEM% %ITEMCODE%

右键选中table下的list of table column选择Format-->List Column Header-->Paragraph-->Alignment选择left可调整table列对齐方式

 

选中左侧Report1右键 generate report。 保存,OK。

猜你喜欢

转载自gqsunrise.iteye.com/blog/2384050