Re: Calculated Field examples for Core Data
Re: Calculated Field examples for Core Data
- Subject: Re: Calculated Field examples for Core Data
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 12 Aug 2005 23:27:26 -0700
On Aug 12, 2005, at 4:24 PM, Clayton Leitch wrote:
I have everything working in a simple contract tracking program
that uses core data. There are two entities, contract and
invoiceData. There is a one to many relationship between contract
and invoiceData, one contract to many invoices. Contracts are
generally for one year and there will be one invoice for each
month. The data on the invoice is the actual bill amount, the
expected bill amount, that was predicted at the start of the
contract. I would like to calculate the difference between the
amounts automatically and display. Secondly, I would like to
calculate the total of all invoices received against the contract,
to date and display it. Downloadable code example would be helpful.
This is not a Core Data issue.
How would you approach this if you were not using Core Data? What
strategies have you tried so far? What mechanism are you using to
display your data (bindings?)?
mmalc
<http://www.catb.org/~esr/faqs/smart-questions.html>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden