AnsweredAssumed Answered

Processbook AF2 value with VBA

Question asked by FDefonseca on Apr 3, 2017
Latest reply on Apr 3, 2017 by FDefonseca



I'm building a processbook that permit me to visualise values from AF2 dataset.

That for, I'm using the value object of processbook pointing om AF attribute trough AF2 source.


As the attribute path is coming from another application, I set the "Tag name" with VBA code wich works pretty well:


     value_Age = "AF2." + List_TFO(1) + "|Age"

     Age.SetTagName (value_Age)


The problem is that in some case, the data source of the value object is automaticaly setted back from AF2 to the default PItag search.


Is it possible in VBA to set and force the data source to AF2 with the good AF server reference?


Best regards,