Happy Monday,
I have a app that shows a calendar of notes for our Payroll department. I connected the calender entries to an edit form so that the users can see the entire note and make any changes that might be needed. Next, I inserted an RPG program to check that a users ID matches the person who created the note so that they could only make changes if they created the note. In behaviors, I have tried inserting the RPG program in the "When shown" section of the Edit form, but it doesn't seem to be running the program. I even tried changing the nabInfo variable to verify that it was working, but it does not show up when the form is displayed. At what point in the behavior section is the data from the calendar available to run thru my RPG program? I tried running the RPG program inside the click event, after the filter. The program runs, but a GetFormChar('PNUSER') returns all blanks, even though the form displays the correct value.
One thing to add to my wish list for Valence, is a way to download an expanded behaviors list to a pdf or spreadsheet, so that I had a way to follow what steps the app is taking.
Thanks,
Bruce
I have a app that shows a calendar of notes for our Payroll department. I connected the calender entries to an edit form so that the users can see the entire note and make any changes that might be needed. Next, I inserted an RPG program to check that a users ID matches the person who created the note so that they could only make changes if they created the note. In behaviors, I have tried inserting the RPG program in the "When shown" section of the Edit form, but it doesn't seem to be running the program. I even tried changing the nabInfo variable to verify that it was working, but it does not show up when the form is displayed. At what point in the behavior section is the data from the calendar available to run thru my RPG program? I tried running the RPG program inside the click event, after the filter. The program runs, but a GetFormChar('PNUSER') returns all blanks, even though the form displays the correct value.
One thing to add to my wish list for Valence, is a way to download an expanded behaviors list to a pdf or spreadsheet, so that I had a way to follow what steps the app is taking.
Thanks,
Bruce

Comment