web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Range where does not seem to fill all records to scrolling window

(0) ShareShare
ReportReport
Posted on by

I have a range where statement that works to bring back records that match a search text that is entered in a text field on the form. It is shown below.

range table RMCCS_CustomerAddressProfile_v  where  physicalname(RMC_TypeShipTo of table RMCCS_CustomerAddressProfile_v) + " = 1 and " +
                                                                                    physicalname(RMC_ProfileType of table RMCCS_CustomerAddressProfile_v) + " <> 1 and " +
                                                                                  physicalname ('Customer Number' of table  RMCCS_CustomerAddressProfile_v) + "  like '"+  '(L) SearchText' +"'  " ;

The problem I have is that there are several records in the table that match the Customer Number as will as meeting the other criteria, however the fill window command only fills 1 record. The intent is for all records that meet the criteria to show even if they have the same Customer Number.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at
    RE: Range where does not seem to fill all records to scrolling window

    Found my answer. Someone had actually placed a reject records statement on the fill event. It was there to avoid duplicates from showing, but they had not used all the fields that would make it a duplicate.

  • Community Member Profile Picture
    on at
    RE: Range where does not seem to fill all records to scrolling window

    View. Created as Virtual Table in Dexterity.

  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at
    RE: Range where does not seem to fill all records to scrolling window

    is this table or view?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans