[EMAIL PROTECTED] wrote:
> Paul,
> 
> Thanks.  What/how are the virtual fields supposed to be used for?

Simple calculations or formatting of existing fields. For example, say 
my bizobj is invoice line items with fields cDescription, nQty, and 
nPriceEach. I may have the following virtual fields:

nLineAmount : nQty * nPriceEach
cQtyPriceString : "%f @ $%.2f" % (nQty, nPriceEach)

Otherwise, you'd be tempted to put such calculations in the UI layer 
where you are actually using them, when they really do belong in the biz 
layer, defined once. You can sort on virtual fields, bind to virtual 
fields, do anything you can do with regular fields (except save values 
back to them).

-- 
pkm ~ http://paulmcnett.com



_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to