Hi
Yes you can create a query object with a field. .
and then go to page where you want to show the query object value.
in trigger onaftergetrecord of the page right the below logic
trigger OnAfterGetRecord
var
Query_Customer: Query BLL_QUERY_CUSTOMER;
begin
Clear(Query_Customer);
if Query_Customer.Open() then
if Query_Customer.Read() then
CustomerCount := Query_Customer.CountUnique; // assign your field value Calculatedfieldvalue :=1/ Query_Customer.Amount;
Query_Customer.Close();
end;
If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much.