Is it possible to filter a datasource getting the condition from a calculated field?

三世轮回 提交于 2019-12-12 04:24:34

问题


I'm guessing if it is possible to filter a datasource using the result getted from a calculated field.

For example, I need to filter my datasource (and, in consequence) my grid, using the condition: Field A - Field B > 0.

Is it possible ?


回答1:


Create a range on a field from your table (like its RecId, it does not matter which field you chose) and use an expression in its value (described here http://www.axaptapedia.com/Expressions_in_query_ranges).



来源:https://stackoverflow.com/questions/11312013/is-it-possible-to-filter-a-datasource-getting-the-condition-from-a-calculated-fi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!