Dear CsPro Team,
**"The test app is attached.
Here, when going back and adding a new record, it navigates to the previously entered record and overwrites its data (1st roster record).
It should go to the last/blank roster field.
Your support is highly appreciated.
Used CSPro Version 7.7.3."**
roster issue
-
Rash@sl
- Posts: 2
- Joined: February 6th, 2025, 11:04 pm
roster issue
You do not have the required permissions to view the files attached to this post.
-
Gregory Martin
- Posts: 1947
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: roster issue
Try something like this:
PROC S9B
if length(strip(S9B)) < 4 then
errmsg(1);
skip to SAVESTATUS_HMOD;
endif;
numeric currently_entered_rows = totocc(SECTION_9_2_OWNED_LIVESTOCKS);
if currently_entered_rows = maxocc(SECTION_9_2_OWNED_LIVESTOCKS) then
advance to SAVESTATUS_HMOD;
else
advance to S92_LCODE(currently_entered_rows + 1);
endif;
if length(strip(S9B)) < 4 then
errmsg(1);
skip to SAVESTATUS_HMOD;
endif;
numeric currently_entered_rows = totocc(SECTION_9_2_OWNED_LIVESTOCKS);
if currently_entered_rows = maxocc(SECTION_9_2_OWNED_LIVESTOCKS) then
advance to SAVESTATUS_HMOD;
else
advance to S92_LCODE(currently_entered_rows + 1);
endif;
-
Rash@sl
- Posts: 2
- Joined: February 6th, 2025, 11:04 pm
Re: roster issue
Thank you very much Sir. It worked for me.