Page 1 of 1
A multiple occurring item inside a roster
Posted: November 3rd, 2024, 1:26 am
by mussabahire
Hello Cspro team.
I have a roster but I want to insert an item which comes multiple times also. When I put it on the form, it gives an error message saying that "The looping controlling the form is not the same as looping controlling the dropped item".
That multiple occurring item is a part of the main roster.
How to solve this?
Re: A multiple occurring item inside a roster
Posted: November 3rd, 2024, 2:38 am
by Habtess
Remove the form and generate again
Re: A multiple occurring item inside a roster
Posted: November 3rd, 2024, 2:50 am
by mussabahire
When I create a new form, the item with multiple occurence does not come to the form.
Re: A multiple occurring item inside a roster
Posted: November 5th, 2024, 12:16 am
by Arjun Brti
Hi
I think you have tow different multiple occurrences set ie PERSON_RECORD and CROPS_RECORD. And you are trying to drag some item form PERSON_RECORD to CROPS_RECORD or vice versa. CSPro does not allowed to drag item(s) from different multiple occurrence set. And be sure that you have set the Max/Occ grater than 1 in the dictionary.
-Best
Re: A multiple occurring item inside a roster
Posted: November 5th, 2024, 9:08 am
by mussabahire
Arjun Brti wrote: November 5th, 2024, 12:16 am
Hi
I think you have tow different multiple occurrences set ie PERSON_RECORD and CROPS_RECORD. And you are trying to drag some item form PERSON_RECORD to CROPS_RECORD or vice versa. CSPro does not allowed to drag item(s) from different multiple occurrence set. And be sure that you have set the Max/Occ grater than 1 in the dictionary.
-Best
A record with max 30 has some items with mutiple occurrences. Ex: Household record has an item called Q1 which repeats itself.
Re: A multiple occurring item inside a roster
Posted: November 5th, 2024, 4:05 pm
by Gregory Martin
The CSPro form designer does not allow you to create a roster that has multiply-occurring items. The only way to implement this is to use a repeating form, which you do by selecting the "Don't Roster" option when dragging the record onto the form:
https://www.csprousers.org/help/CSPro/d ... _menu.html
In other words:
- Multiply occurring record with singly occurring items can be displayed as Horizontal / Vertical / Don't Roster
- Multiply occurring record with multiply occurring items can be displayed only as Don't Roster
Re: A multiple occurring item inside a roster
Posted: November 7th, 2024, 10:17 am
by mussabahire
Thank you Greg. It worked.