Hi,
Because you set the second argument name of sub populateTxtOnEnter() also as iTable.
When you call the sub populateTxtOnEnter(argument1, argument2), you pass some values, and you must be passing value 1 as second argument, this value will override global variable.
Regards
Bookmarks