I am new to developer6 form builder.so its a totally newbie question..
I have 2 forms , form1 and form2.I am creating a control block in form 1 and display a combobox in which I populate the list with department numbers from dept table by when_new_form_instance trigger as
Set_Window_Property(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE);
Set_Window_Property('window1', WINDOW_STATE, MAXIMIZE);
fetch cur_dept into l_deptno;
but I am not able to access this parameter in form2.Created a similar parameter deptno in form2.When I try to set access it , it says no such parameter deptno in form2. I have checked its existance and also the datatypes.
Try "get" and "create" the parameter list as two steps. You should error check to see if the list is found. Once you make sure the list has been created, check to see if it was found. See Form Builder Reference, Volume I - add_parameter and create_parameter_list.