Subfile Fold/Drop and Displaying empty sub file | yusy4code

preview_player
Показать описание
This video explains how to use SFLFOLD & SFLDROP keyword in sub files and way of displaying sub file if we have no data.

Рекомендации по теме
Комментарии
Автор

Dear Yusuf!
Great Video! :D

Here is another approach:
When clearing the fields and just setting the rrn to 1, there is no error when EXFMT the Subfile. Just leave the fields blank (with alphanumeric fields there is no big deal, numeric fields have to be set invisible with DSPATR(ND) under usage of some indicator). So you have not to deal with different indicator, which is to me very confusing when working with Subfiles.

So you either can display the Subfile using the display option with the seperate indicator or just clearing the subfile, increasing the rrn to 1 and exftm the subfile.

SirLasterOfDesaster
Автор

Hi Yusuf, I am using subfile search in load all subfile by loading records to array and then %lookup to set SFLRCDNBR. My subfile works fine on the search with available data, and even with non found data (I am switching on clear indicator and off DSP indicator). But after non found condition when again it is tryign to search it gives session or device error, all the indicator values are correct and SFLRCDNBR RRN is also correct. What can be the possibilities?

sheetalmavalkar
Автор

Hi Yusaf... Can you let me know how to handle if user clicks Enter key...

For suppose these are steps followed for SFLDROP
1. Call Slfprog
2. Press F7 (SFLDROP indicator is activated, and record will expand)
3. Press F7 (SFLDROP indicator is deactivated and record will be collapsed)

Now at step3 instead of doing F7, if we press Enter botton, still the record is getting collapsed, but actually it should not collapse... Can I please know how to handle this...

vivek
Автор

Hi Yusuf I want to load editable fields in subfile and then with f16 or enter I want to update it

kanakdwivedi
Автор

Hi Yusuf
Could please make video on more 3 position fields on the subfile control section, based on postion field value data should filter in record section

mathewk
Автор

i want to show the sub file with no records and avoid the Session device error, what i do ..can swith on the SFLCLR indicator is this right, or share your input.Thank You

chaitanyap
Автор

bro... please put a video of Deleting single record from the subfile and makes subfile empty.

saravananmani
Автор

hi bro, thanks for the video. Please provide us a video session about CALLB and CALLP

kishorgopal