Still fairly new to both Profound and RPG so bear with me :-)
Working on a test program to view/edit customer information. (CUSTMGR)
I have a subfile set up with "View/Edit" links bound to indicators dtlView and updView, respectively. I also have an "ondbclick" action set up to click the dtlView link as covered in the docs here.
I am then using readc in a subroutine to get the record and process the link:
Code: Select all
begsr readSubfile;
readc CUSTSFL;
if not %eof(CUSTMGR);
select;
when dtlView = *on;
exsr loadDetail;
when updView = *on;
exsr loadUpdate;
endsl;
endif;
endsr;
What could I be missing here?
Thanks!