on 11-13-2013 7:30 AM
Hi,
Can I separate primary keys from the others(not PKs) by separator line like ERWin?
I think this is customizing issue but my question is that is possible draw separator line in the table in PowerDesigner PDM?
Your help will be so much appreciated.
Regards,
Insung Lee
Hi Insung,
actually this could be done pretty easily. You just have to use combination of PDs great capabilities (and exclude those, which should work, but they don`t:) ). It is combination of Calculated collection (which creates list of non-primary columns) and proper adjustment of Content in Display properties (Display properties - Table - Content - Advanced...). See attached screenshot to make better picture of this ... actually... workaround, because this should be done more straightforward, PD has means for that in the Customize Content window. Hope this helps.
Regards,
Ondrej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice!
The equivalent script for a LDM is almost the same:
Function %Collection%(obj, coll)
' Create a collection of the attributes that are in the entity's primary identifier
Dim att
For each att in obj.Attributes
If att.PrimaryIdentifier = false then
coll.Add att
End If
Next
%Collection% = True
End Function
Hi Insung,
think this is impossible,
The only way to customize the style of a table is to change the Format.
There you cannot define any separator lines for instance for the shape of the table.
If you like to change the style of PK column you only can change the font of the subobject via the sub-object Format.
Another way to change the style of a symbol is to use "Custom Symbol" in an extension.
It might be possible to create an extension to give a table a "Custom Symbol" that simulates such a separator line but i think this becomes very complex.
BR
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.