05-16-2012, 07:58 PM
I've looked at Dictionary objects before, but I'm not really clear on where to put the code (some have placed the code in a function library), I'm also not too clear on the benefits of using it (over what is listed here), or how I would compare objects using it.
For simple item creation, i could write "x = [whatever]" or for a dictionary I'd have to write:
Dim x
Set x = [whatever]
and then some items here which I don't know their use.
So the dictionary term becomes quite longer than the simple "x = y"
As for trim and ucase, would this be the correct method?
That doesn't seem quite right.
For simple item creation, i could write "x = [whatever]" or for a dictionary I'd have to write:
Dim x
Set x = [whatever]
and then some items here which I don't know their use.
So the dictionary term becomes quite longer than the simple "x = y"
As for trim and ucase, would this be the correct method?
Code:
xprod = Trim(UCase(Browser("...").Page("...").WebEdit("txtName").GetROProperty("value")))
zprod = Trim(UCase(Browser("...").Page("...").WebEdit("txtBr").GetROProperty("value")))
xprodTbl = Trim(Ucase(DataTable.Value ("A",dtLocalSheet)))
zprodTbl = Trim(Ucase(DataTable.Value ("B",dtLocalSheet)))
That doesn't seem quite right.