Hi - i'm have some problems passing Dictionary Object from a function. i've even found a thread that shows the solution.
Here:
However, what ever i try i get:
i've gone as far as copying the code from the previouse thread, just to test it, still with no joy...
anyone who can help?
thanks
Ash
Here:
However, what ever i try i get:
Code:
Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: 'myFields'
/ibuy/suppliers/Amend/comit/test.asp, line 10
i've gone as far as copying the code from the previouse thread, just to test it, still with no joy...
Code:
function dictionaryTest(myValue)
set d=CreateObject("Scripting.Dictionary")
d.add "test", myValue
set dictionaryTest = d
end function
myFields = dictionaryTest("test")
response.write myFields.Item("test1")
anyone who can help?
thanks
Ash