Hi All
I found there is a function for retrieving the specific object collection from the Model
Dim Mdl As PdCommon.BaseModel
Set PD = CreateObject("PowerDesigner.Application")
PD.OpenModel ("D:\PowerDesigner\project.pdm"
For Each Mdl In PD.Models
Debug.Print Mdl.Name
Set ObjTab = Mdl.GetCollectionByName("Tables")
next
Is there is any function to get the specific object from the collection than iterating through the collection . For example . I want to get the emnployee table from the ObjTab collection
Set emptab =ObjTab .<<< functionname >>("Employee")
I tried GetCollectionByName , but its not working
Thanks for help
Ani