Add Data Source To Objects 追蹤
I have around 500 labels each with several text objects. I need to identify the text objects (done, using DesignObjects.Objects to identfy the Name field as containing "Text") and then add a data source with the same data as the text object value. Manually this is simple through the Properties box on each text field. However as I said I have several text fields on over 500 labels which all need to have data sources added.
Is there any way of doing this programmatically? I have looked through the forums for .NET, ActiveX or BTXML solutions and have so far found no way of automating this procedure.
Someone else created the labels originally without the data sources and I have been tasked with resolving the issue.
Any help would be greatly appreciated.