Leer parametros desde forms
Hola, estoy pasando parametros en un paramlist de un form a otro, pero no se como leerlos en el forms destino.
He mirado en la ayuda y pone que use :parameter.Nombre_parametro pero no me funciona.
¿alguna idea?
Muchas gracias de antemano
He mirado en la ayuda y pone que use :parameter.Nombre_parametro pero no me funciona.
¿alguna idea?
Muchas gracias de antemano
hola... disculpa la molestia pero me gustaria saber como haces para enviar parametros de un forms a otro.
Saludos
Gracias
Saludos
Gracias
Este es un ejemplo que consegui en la ayuda no se si te puede ayudar....
Saludos
/*
** Declare a variable of type ParamList to store
** the parameter list ID
*/
DECLARE
list_id ParamList;
BEGIN
/*
** Create a parameter list named \"input_params\"
*/
list_id := Create_Parameter_List(\\'input_params\\');
/*
** Add two parameters to the list to pass values for each
** user-defined parameters defined in the target form; for each
** parameter, specify its key, type (text or data), and value
*/
Add_Parameter(list_id, \\'CITY\\',TEXT_PARAMETER,\\'BOGOTA\\');
Add_Parameter(list_id, \\'CATEGORY\\',TEXT_PARAMETER,\\'EXPORTS\\');
/*
** Now call the form, referencing the parameter list ID
** in the last argument to the CALL_FORM procedure
*/
Open_Form(\\'trade\\',ACTIVATE,NO_SESSION,list_id);
END;
Saludos
/*
** Declare a variable of type ParamList to store
** the parameter list ID
*/
DECLARE
list_id ParamList;
BEGIN
/*
** Create a parameter list named \"input_params\"
*/
list_id := Create_Parameter_List(\\'input_params\\');
/*
** Add two parameters to the list to pass values for each
** user-defined parameters defined in the target form; for each
** parameter, specify its key, type (text or data), and value
*/
Add_Parameter(list_id, \\'CITY\\',TEXT_PARAMETER,\\'BOGOTA\\');
Add_Parameter(list_id, \\'CATEGORY\\',TEXT_PARAMETER,\\'EXPORTS\\');
/*
** Now call the form, referencing the parameter list ID
** in the last argument to the CALL_FORM procedure
*/
Open_Form(\\'trade\\',ACTIVATE,NO_SESSION,list_id);
END;