Retrieval Arguments, Power Builder, how does it work?

1

I am starting in Power Builder and I would like to know how the "Retrieval Arguments" of the DW works ...

At first I thought that only by calling the script "retrieve ()" the data from the database was passed to me (for example, from a DW FreeForm to a DW Grid), but then the parameters of the option must be clarified " Retrieval Arguments "??

    
asked by MaxYbr 20.11.2017 в 16:10
source

2 answers

0

The "RETRIEVE ()" is used when your Datawindow is linked to a stored procedure and if your procedure expects to receive parameters it would be like this "DATAWINDOW.RETRIEVE (parameter1, parameter2, parameterN)"

    
answered by 30.11.2017 в 19:56
0

the retrieve action is used in the datawindows to make it retrieve the information for which it has been elaborated can be a stored procedure or simply a SQL query, it can have argument or not depending on the query. If the DW query does not have arguments, you only use Retrieve () to retrieve the information in the DW but if you have declared arguments in the DW you must use Retrieve (Argument1, Argument2, ArgumentN) depending on how many arguments you have declared.

    
answered by 21.12.2017 в 00:05