Hi everybody,
I'm Alex and i am working on a CSpro interface. I am working on a roster table which has 20 colomns and 12 rows. the first column takes the total number of tick within the current row.i want to set a validation so that the number of tick within a row is the same as that of the total .
Please is a Roster,
diagrammatically: hope u get the picture
total |column1| column2 ...20
1. cell |cell |cell...
2. cell |cell |cell...
. .
. .
12 . .
i want to write a code that will count the number of tick cells so that it doesn't exceed the total. can anyone help me
thanks!!
Count in Roster
-
khurshid.arshad
- Posts: 618
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Count in Roster
Hi Alex,
Your question is not clear. If you can create this roster in excel and share on this forum and hopefully i can help you.
a.
Your question is not clear. If you can create this roster in excel and share on this forum and hopefully i can help you.
a.
-
Gregory Martin
- Posts: 1947
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Count in Roster
Are you trying to use the first column as an indication of how many columns should be filled out for the given row? If so, see attached for a way that you could do this. It requires a little programming. For example:
function endGroupIfCountMet(columnNum)
if columnNum > CONTROL_COLUMN then
skip to next CONTROL_COLUMN;
endif;
end;
PROC COLUMN_01
preproc
endGroupIfCountMet(1);
PROC COLUMN_02
preproc
endGroupIfCountMet(2);
// etc.
if columnNum > CONTROL_COLUMN then
skip to next CONTROL_COLUMN;
endif;
end;
PROC COLUMN_01
preproc
endGroupIfCountMet(1);
PROC COLUMN_02
preproc
endGroupIfCountMet(2);
// etc.
You do not have the required permissions to view the files attached to this post.