link 2 properties

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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