Right. My problem was not the function itself, but how to generally create a dynamic virtual field with dynamic fields as computation variables (in this case from a given list).
On Apr 10, 12:02 am, Anthony <[email protected]> wrote: > To create virtual fields, you first have to define a class, such as: > > class MyVirtualFields(object): > > Then you need to add a function (method) for each virtual field, which > presumably you could do dynamically. However, the virtual field functions > have to compute something in order to return virtual field values -- how > would you define what each virtual field does dynamically? Can you provide > more detail regarding what each of the virtual fields would return? > > Anthony

