SimbaERP Online

SetValuesFrom Stdv in String

stdv_werte_in_string_einfügen

Function DecodeString(ByVal Source as String) as String
	Dim hx As New nxGUI.nxTools.helperFormString(source)
	For Each x As String In hx.Matches
		Dim fld as String
		fld=x.replace("{","").replace("}","")
		if myconnection.IsField(fld) Then
			hx.setvalue(x, "" & myconnection.GetValue(fld))
		Else
			hx.SetValue(x, "_" & fld & "_NOTSET")
		End if
	Next
	Return hx.tostring
End function