On Thursday 20 May 2010 8:13:50 am Carey Gagnon wrote: > > If the virtual field is defined in the project bizobj, it is > > straightforward to calculate the sum of the child values for a given > > project. Paul has done much more work on this, so I'm hoping he can give > > you a better example than I could come up with. > > > > > > > > -- Ed Leafe > > > > Ed, if you noticed my response to Kirby here is my db table/filed > > structure:
> > As you can see by th commented out sections, I am having a hell of a time > figuring out a projectDuration method as a virtual field in my records > bizobj. > > I've tried varying combination which has produced varying errors from max > out recursion errors to no callable object errors. > > Carey Not well known but Sqlite has some internal functions that duplicate what you are doing above. Might save you some troublee: http://sqlite.org/lang_datefunc.html -- Adrian Klaver [email protected] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
