pdm Comment转name
来源:互联网 发布:青岛seo做的好的网站 编辑:程序博客网 时间:2024/05/17 23:35
Option Explicit
ValidationMode = True
InteractiveMode = im_Batch
Dim mdl ' the current model
' get the current active model
Set mdl = ActiveModel
If (mdl Is Nothing) Then
MsgBox "There is no current Model "
ElseIf Not mdl.IsKindOf(PdPDM.cls_Model) Then
MsgBox "The current model is not an Physical Data model. "
Else
ProcessFolder mdl
End If
Private sub ProcessFolder(folder)
On Error Resume Next
Dim Tab 'running table
for each Tab in folder.tables
if not tab.isShortcut then
tab.name = tab.comment
Dim col ' running column
for each col in tab.columns
if col.comment="" then
else
col.name= col.comment
end if
next
end if
next
Dim view 'running view
for each view in folder.Views
if not view.isShortcut then
view.name = view.comment
end if
next
' go into the sub-packages
Dim f ' running folder
For Each f In folder.Packages
if not f.IsShortcut then
ProcessFolder f
end if
Next
end sub
ValidationMode = True
InteractiveMode = im_Batch
Dim mdl ' the current model
' get the current active model
Set mdl = ActiveModel
If (mdl Is Nothing) Then
MsgBox "There is no current Model "
ElseIf Not mdl.IsKindOf(PdPDM.cls_Model) Then
MsgBox "The current model is not an Physical Data model. "
Else
ProcessFolder mdl
End If
Private sub ProcessFolder(folder)
On Error Resume Next
Dim Tab 'running table
for each Tab in folder.tables
if not tab.isShortcut then
tab.name = tab.comment
Dim col ' running column
for each col in tab.columns
if col.comment="" then
else
col.name= col.comment
end if
next
end if
next
Dim view 'running view
for each view in folder.Views
if not view.isShortcut then
view.name = view.comment
end if
next
' go into the sub-packages
Dim f ' running folder
For Each f In folder.Packages
if not f.IsShortcut then
ProcessFolder f
end if
Next
end sub
0 0
- pdm Comment转name
- PowerDesigner 的mysql PDM 的COMMENT注释改为name+comment
- PowerDesigner中逆向工程将数据库中comment脚本赋值到PDM的name
- PowerDesigner 从数据库反向生成Pdm时把Comment复制到Name中,从PowerDesigner导入数据库时把Name复制到Comment
- pdm表name转备注(备忘)
- powerdeisger name comment互转的代码
- PowerDesigner 的mysql PDM 的COMMENT注释
- powerdesigner 生成mysql PDM 的COMMENT注释
- PowerDesigner 的mysql PDM 的COMMENT注释
- PowerDesigner 的mysql PDM 的COMMENT注释
- PowerDesigner 的mysql PDM 的COMMENT注释
- powerdesigner comment 由sql创建pdm
- pdm取消name code同步
- PowerDesigner Comment To Name & Name To Comment VBS
- PowerDesigner 同步Name到Comment 及 同步 Comment 到Name
- PowerDesigner Comment写到name 和name写到Comment
- PowerDesigner 同步Name到Comment 及 同步 Comment 到Name
- POWERDESIGNER NAME to COMMENT and COMMENT to NAME
- 分享最快破解Excel密码方法
- HTML中废弃的标签以及它的替代标签。
- leetcode题目之两数求和
- EChart 设置Y轴分段段数
- bash: /opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc: 没有那个文件或目录 问题解决方案
- pdm Comment转name
- mysql事务
- 学习笔记——Maven实战(十)Maven 3,是时候升级了
- mybatis中#和$的区别
- HTML文档分节
- uva11400Lighting System Design(简单DP+贪心)
- 呵呵
- android简单进度条
- MaxCompute 学习计划(二)