Hi,

In one of the apps i'm implementing i have found a limitation in the 
datanav framework when using virtualFields.

If you define a filter for a virtualField on the select page it wont 
work, as it will try to filter the virtualField at SQL level, where it 
doesn't exist....

I'd like to suggest a change to datanav that would make this possible:

SelectPage.selectedFields would have another bool key "virtual", for 
example:

self.selectFields["FIELDNAME"] = {
                    "ctrl" : ctrl,
                    "op" : opList,
                    "type": "int",
                    "virtual": True
                    }


Based on this information we would construct the query excluding virtual 
fields and requery()

After that, if there were virtual fields, filter() the dataset based on 
the virtual fields only

I think it is the best way to do it, and am willing to do it, so please 
comment on my approach

Is is already possible to do this? If so, how?

Regards,
Pedro Vale de Gato

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to