A multiple occurring item inside a roster

Discussions about CSEntry
Post Reply
mussabahire
Posts: 49
Joined: September 5th, 2016, 4:55 am

A multiple occurring item inside a roster

Post 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?
Habtess
Posts: 4
Joined: November 2nd, 2024, 1:02 am

Re: A multiple occurring item inside a roster

Post by Habtess »

Remove the form and generate again
mussabahire
Posts: 49
Joined: September 5th, 2016, 4:55 am

Re: A multiple occurring item inside a roster

Post by mussabahire »

When I create a new form, the item with multiple occurence does not come to the form.
Arjun Brti
Posts: 58
Joined: October 15th, 2020, 3:40 am

Re: A multiple occurring item inside a roster

Post 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
mussabahire
Posts: 49
Joined: September 5th, 2016, 4:55 am

Re: A multiple occurring item inside a roster

Post 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.
Gregory Martin
Posts: 1849
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: A multiple occurring item inside a roster

Post 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
mussabahire
Posts: 49
Joined: September 5th, 2016, 4:55 am

Re: A multiple occurring item inside a roster

Post by mussabahire »

Thank you Greg. It worked.
Post Reply