Dynaically populate second list based on first [message #401190] |
Sat, 02 May 2009 02:46 |
|
I have created one form which 2 list box based on 2 columns of asset table asset_category_code and asset_sub_category_code.Somehow i tried to populate the first list by added triiger in new form instance and i have written trigger when changed list as follows to dynamically based on value i chose on first...... but nothing is commin in second list.i am attaching the form also please help
declare
rg_id recordgroup := find_group('SUB_CATG_RG') ;
ln_error number ;
begin
if not id_null(rg_id) then
ln_error := populate_group(rg_id) ;
if ln_error = 0 then
populate_list('FIX_ASSET_KEY.AT_SUB_CATG_CODE' , rg_id) ;
else
message('Error in Populating Group') ;
end if ;
end if ;
end ;
-
Attachment: ASSET.fmb
(Size: 88.00KB, Downloaded 1000 times)
|
|
|
|
|
|
|
|
|
|
|
|