Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Filter a field with multiple values

(0) ShareShare
ReportReport
Posted on by 1,289
HI,
I created a form with a view as data source. Form is working fine when opened. In show Filters, InvoiceID is a filter field. When I select MATCHES or IS ONE OF option as the filtering criteria giving multiple values, form is not displaying any records. below is the code that adds the filtering fields.
 
 [DataSource]
    class XXXXListPageView
    {
        /// <summary>
        ///
        /// </summary>
        public void init()
        {
           QueryBuildDataSource QBD;
           QueryBuildRange      qbdrRecId;
            QueryBuildRange     qbdrInvoiceId;
            super();
                     
            QBD = this.queryBuildDataSource();
            qbdrRecId= QBD.addRange(fieldNum(XXXXListPageView,RecId));
            qbdrRecId.value('0');      
            qbdrInvoiceId = QBD.addRange(fieldNum(XXXXListPageView, InvoiceId));
            qbdrInvoiceId.value(/ /);
            QBD.clearDynalinks();
        }
    }

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.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans