we have a custom page with pdc ledger here all the details are same expect the entry No, it is the primary key, In the cue i want to show the count of the records it should show the count as based on the doucment No. and maturity date the maturity date filter is working fine for me only i want to know how to count based on the same document No. is same for more records how can we achieve it i am sharing my code for the cue field, thanks for your advices.
field(2; /PDC Maturity Date/; Integer)
{
FieldClass = FlowField;
Caption = 'PDC Maturity Date';
CalcFormula = count( PDC Ledger where(PDC Maturity Date = field(Maturity Date Filter), PDC Cheque No. = filter(<> '')));
As far as I know, if you don't have a Document No field on your current table, you can't do it with FlowField. You need to consider other methods, such as using variables and then collecting data in the program, or Query to collect data.
Hopefully other experts can give you better advice.
Thanks.
ZHU
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.