1st table - will contain the set function in a textbox expression passing in the row number and value. This table can be hidden.
=setValue(RowNumber(Nothing),myfield.value)
2nd table - will contain the get function passing in the row number.
=getValue(RowNumber(Nothing)
Code Below
public dictLookup as new System.Collections.Generic.Dictionary(Of String, String)
Function setValue(value as object, value2 as object) as object
dictLookup.Add(value, value2)
return value
End Function
Function getValue(value as object) as object
If dictLookup.ContainsKey(value)
return dictLookup(value)
else
return value
end if
End Function