@sum and
@sum and
- Subject: @sum and
- From: Theodore Petrosky <email@hidden>
- Date: Sun, 13 Jun 2010 17:33:05 -0700 (PDT)
userList = User.fetchDistinctUsers(timeListEC, User.IS_ACTIVE.eq(true).and(User.ETIMES.dot(ETime.JOB).dot(Job.PROJECT).eq(theProject())), null);
userListDG.setObjectArray(userList);
I have a repetition fed with this
UserListRep : WORepetition {
list = userListDG.displayedObjects;
item = theUserListItem;
index = session.index;
}
The userList if perfect... however I have a row of my table like this:
<td><webobject name = "AmountOfTime" /></td>
WOD
AmountOfTime : WOString {
value = email@hiddentOfTime;//valid
numberformat = "##.##";
}
the Value displayed is the sum of "ALL" entries in the ETime table for ALL projects/jobs.
I was expecting that:
value = email@hiddentOfTime;//valid
would only display the sum.amountOfTime for the row (theUserListItem) displayed...
am I doing something wrong?
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden