use a scripting.dictionary object -ex:
Dim objDictionary
'this create a dictionay object
Set objDictionary = CreateObject("Scripting.Di
'not create the "variable name" and its value:
objDictionary "username","johnny"
It's not clear to me where/how you intend to use it, but my guess is:
Main Topics
Browse All Topics





by: gregcmcsePosted on 2008-09-18 at 13:14:12ID: 22514912
I would use a dictionary object.
ctionary")
Example:
Set dFields = CreateObject("Scripting.Di
dFields.CompareMode = 1 ' Text mode -- ignore capitalization differences
dFields(strFieldName1) = objRS(strFieldName1)
dFields(strFieldName2) = objRS(strFieldName2)
For each strField in dFields.Keys
response.write strField & " = " & dFields(strField)
Next ' strField