Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to display a list of tables in a diagram

Status
Not open for further replies.

biffi

Programmer
Sep 20, 2011
1
ZA
Hello. I have a model which has a list of diagrams. For each diagram I want to see the list of tables in that diagram - I currently have a list of all the tables from all diagrams, but I can't work out how to show just the tables for one diagram.
Thanks.
Biffi
 
Hello Biffi,

try this:
1. create computed read only extended attribute "Active Diagram Flag" with the Get method:

Function %Get%(obj)
Dim tab, found
found = false
for each tab in ActiveDiagram.Symbols
if tab.object = obj then
found = true
exit for
end if
next
%Get% = found
End Function

2. Add the extended attribute into List of tables with operator "=" and expression "true"

3. Enable filter on the List of tables

Vlasta
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top