M
Michael Anderson
Hi,
i am working on a customised contact form. I have a keyword type ListBox
"ListBox3" with a field called "mxzNCRL2". It has 3 possible values:
Bunnings;Forklift;First Aid. I am trying to get the selected value or values
onto a text variable.
Dim txtmxzNCRL2
Dim objInspector
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile= fso.CreateTextFile("c:\testfile.txt", True)
Set objInspector = Item.GetInspector
txtmxzNCRL2 = Item.UserProperties("mxzNCRL2").Value
MyFile.WriteLine(txtmxzNCRL2)
MyFile.Close
Set fso = Nothing
Set objInspector = Nothing
I am told that I have a type mismatch and it doesn't read in the selected
value or values.
Any suggestions?
i am working on a customised contact form. I have a keyword type ListBox
"ListBox3" with a field called "mxzNCRL2". It has 3 possible values:
Bunnings;Forklift;First Aid. I am trying to get the selected value or values
onto a text variable.
Dim txtmxzNCRL2
Dim objInspector
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile= fso.CreateTextFile("c:\testfile.txt", True)
Set objInspector = Item.GetInspector
txtmxzNCRL2 = Item.UserProperties("mxzNCRL2").Value
MyFile.WriteLine(txtmxzNCRL2)
MyFile.Close
Set fso = Nothing
Set objInspector = Nothing
I am told that I have a type mismatch and it doesn't read in the selected
value or values.
Any suggestions?