thanks Walaa,
I am going down the "DeliveryColection.GetMulti(Filter), with the appropriate filtering predicate. " route.
however, I am having problems filtring the deliveries for a particular date:
IPredicateExpression deliveryFilter = new PredicateExpression();
deliveryFilter.Add(PredicateFactory.CompareValue(TblDeliveryFieldIndex.DeliveryDate, ComparisonOperator.Equal, DateTime.Today));
deliveries.GetMulti(deliveryFilter);
int delCount;
delCount = deliveries.Count;
however, NO deliveries are returned, depite the fact that:
1) there is a delivery for this particular date
2) the datetime on my machine is correct (everything is on the SAME machine)
I'm not sure why it doesn't work.
The datatype of the sqlSever coumn that it refernces is "datetime"
Can anyone help?
many thanks,
yogi