passing parameter [message #87399] |
Tue, 28 December 2004 21:20  |
Adi
Messages: 38 Registered: May 2002
|
Member |
|
|
hi all,
can i pass a parameter value from the menu to form?. if at all how.
thanks for the help.
|
|
|
Re: passing parameter [message #87408 is a reply to message #87399] |
Thu, 30 December 2004 01:18  |
Niranjan
Messages: 34 Registered: June 2001
|
Member |
|
|
Hi,
u can do it but how will u pass a runtime value from the menu( depends on ur requirement i.e. how u r passing a value at runtime) but following code can help u.
declare
p paramlist;
begin
p:=create_parameter_list('abc');
add_parameter
(p,
'p_dno',
text_parameter,
10
);
call_form
('c:niranjanformsemp.fmx',
no_hide,
no_replace,
no_query_only,
p
);
destroy_parameter_list(p);
end;
|
|
|