Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
maxim.teleguz
in reply to: WCrihfield

It just crossed my mind to show you this:

This is the smallest code in all of the internet for "checking" and creating custom properties if they are "missing"

Try
	If iProperties.Value("Custom", "Ref. Number") = Nothing Then
	'if not exist causes error
	End If
Catch
	'create it
	iProperties.Value("Custom", "Ref. Number") = ""
End Try