Hi @Roym-9890,
Thanks for your question, and thanks to @Isaiah for the detailed answer.
Let me describe the concepts behind parameter passing between screens.
Let's say you have a FROM screen and a TO screen.
In the TO screen, you define one ore more Variables to receive the parameter. Most often you pass a Rowlink (i.e. the row you intend to display on the TO screen), but you are not limited to Rowlinks - you can pass any variable(s). If you are passing a Rowlink, you can then use this Variable as a Source for a Block to allow edit or display of a record. If you pass any other variable, you can use that in a Filter expression or any other way.
In the FROM screen, you can pass one or more variables using the Navigation Action. If the navigation is from a List, then you can use =THISROW() since this refers to the current row you are navigating from. If on the other hand you do not have a list, and you want to pass a Rowlink, then you have to somehow figure out how to get the rowlink and then pass it. You can also pass any other variable to the TO screen, and you can even pass a value, that you can then use to find the row as well.
I am going to illustrate this with an example where I will pass three variables. First, say you have two tables: Clients and Transactions. On the FROM screen, we will ask the user for a single input to provide a Transaction ID. Using this Transaction ID, we will determine the Client ID, and the Rowlink to the Transaction row given the Transaction ID.
We will then pass all three of these variables to the TO screen - Transaction ID, Client ID, and Transaction Rowlink. On the TO screen, we will then display the Transaction record using the Transaction ID passed in, also display the same Transaction record using the Transaction Rowlink, and finally display the Client record using the Client ID.
Transaction Table:
Clients Table:
On the following screen, user enters a transaction ID of 4, and we determine the Client ID and the Transaction Rowlink from the Transaction ID:
We pass three variables to the TO screen. On the TO screen, we have defined three variables InputTransactionID, InputClientID, and InputTransactionRowlink. We map these three variables to the variables from the FROM screen:
Here is how the TO screen looks like. There are three blocks displayed below the blue block, each using the Input variable parameter to determine its source:
This block displays the values of the incoming variables value:
First block displays the Transaction record using the InputTransactionID in a FindRow() function:
Second block displays the Transaction record using the InputTransactionRowlink directly:
Third block displays the Clients record using the ClientID in a FindRow() function:
Hope this helps.
Thanks,
Razi