link 2 properties

link 2 properties

Anonymous
Not applicable
262 Views
1 Reply
Message 1 of 2

link 2 properties

Anonymous
Not applicable

Hi Guys!

 

i found this code to rename the browser name of a current document

 

'Funktion des iTriggerknpfes aktivieren
trigger = iTrigger0
'Displayname ändern
strText = "Hallo!"
ThisDoc.Document.Displayname = strText
'Mshbox, damit gewartet wird
MsgBox ("Warte auf OK!")

'Prüfen, ob Displayname überschrieben würde
If ThisDoc.Document.DisplayNameOverridden = True Then
    MsgBox ("Displayname überschrieben:" & ThisDoc.Document.Displayname)
End If

'Überschreibung Displayname zurücksetzen
ThisDoc.Document.DisplayNameOverridden = False

'Nochmals prüfen, ob der Displayname überschrieben wurde
If ThisDoc.Document.DisplayNameOverridden = True Then
    MsgBox ("Displayname überschrieben")
Else
    MsgBox ("Displayname NICHT überschrieben")
End If

 

But i want instead of "Hallo!" the connection of 2 values of the iProperties, Description (under Project) and a userdefined value named AIMD_PARTNO

for example  "Bolt - T18522"

 

how does the code look like??

thx for your support!!

 

cheers

Thomas

0 Likes
263 Views
1 Reply
Reply (1)
Message 2 of 2

MechMachineMan
Advisor
Advisor
0 Likes