Progress.Data.BindingSource/Query - calculated fields?

Posted by yesnielsen on 11-Dec-2018 10:06

I'm working with some old ADM1 code, migrating some browsers to Ultragrid.
At the moment I'm stuck with the problem that I'm not able to display calculated fields that are not in the table. Is it somehow possible to include calculated fields in either a Query or a Progress.Data.BindingSource?
Right now I'm using a temp table to achieve this and performance is unfortunately quite bad.
Populating the temp-table is not the issue - most of the time is spent looping through the tables.

DEFINE QUERY doesn't seem to allow calculated fields in the field list the same way DEFINE BROWSE does, or am I misunderstanding something?


Posted by jquerijero on 11-Dec-2018 15:40

You should be able to add/insert unbound columns during initializelayout event and then populate the cell during initializerow event.

All Replies

Posted by jquerijero on 11-Dec-2018 15:40

You should be able to add/insert unbound columns during initializelayout event and then populate the cell during initializerow event.

This thread is closed