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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Report Writer - rw_SelectAddrLine function

(0) ShareShare
ReportReport
Posted on by 9,146

Hi

I have modified my report to include all the address fields as per a number of posts that I have found.  I can get all fields appearing fine, but wondered if there was any way to always have two fields appear on the same line - specifically City and Postcode.

I have defined 5 address fields, all with the following structure (and with the changing integer on the front):

"'rw_SelectAddrLine'( 2 'RM_Customer_MSTR_ADDR'.'Address 1''RM_Customer_MSTR_ADDR'.'Address 2''RM_Customer_MSTR_ADDR'.'Address 3'\"\" 'RM_Customer_MSTR_ADDR'.'City''RM_Customer_MSTR_ADDR'.'State''RM_Customer_MSTR_ADDR'.'Zip'\"\" 'RM_Customer_MSTR_ADDR'.'Country' )  "

So if I have data in Address 1, 2 and 3, City, Postcode and Country, Country does not show on the report because I only have five address lines.  I don't really want a sixth and was hoping that the postcode would concatenate with the City.  Interestingly, it does for the Ship To address (which has not been modified).

Help would be appreciated.

Cheers

Heather

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Heather Roggeveen Profile Picture
    9,146 on at

    I have resolved this issue.  

    For those that may find this later looking for the resolution, I needed to have the City, State, Zip and Country fields as the last four fields.  The space before Country was causing the issue.  For more details see:

    dynamicsgpblogster.blogspot.co.nz/.../understanding-rwselectaddrline-address.html

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans