Hi,
I am trying to find if there is a way to return multiple values from a Handler. Below snippet code does not return the values. Any idea?
Snippet:
params DataID
params Username
params Password
to handle GetData DataID *(//DataID is being passed from DAI)*
set myDB to {type:"odbc", DSN:"Test",user:"Test_User",password:"Test_pwd",writable: Yes}
put table "MyTable" of myDB into TableData
put the records of TableData where (ID= DataID) into TestData
Put TestData.Username into Username
Put TestData.Password into Password
Return [ Username, Password]
end GetData