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)

I would like to copy fields from GP to the clipboard using Dexterity

(0) ShareShare
ReportReport
Posted on by 855

I would like to pull shipping information from an invoice to the clipboard so it can be copied to a label. 

Example have a button that the user an push to capture the information, then place it in a text file the clipboard the user can use to copy/paste from.

I know VBA can be used with MyClipboard as a DataObject.  Does Dexterity have anything similar that can be used? 

Thanks in advance!

*This post is locked for comments

I have the same question (0)
  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,065 Most Valuable Professional on at
    Re: I would like to copy fields from GP to the clipboard using Dexterity

    Hi Sheila

    You can add carriage return using char(13) or carriage return, line feed char(13)  + char(10).

    David

  • Sheila Ochoa Profile Picture
    855 on at
    Re: I would like to copy fields from GP to the clipboard using Dexterity

    Thanks David, that worked great.  Do you know if there is way to insert a carriage return using Dexterity?  If I am copying information into a text box and want a carraige return between the fields I am placing in there.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,065 Most Valuable Professional on at
    Re: I would like to copy fields from GP to the clipboard using Dexterity

    Hi Sheila

    The only thing I can think of is to display the data in a text field on a window, then select it and copy it.

    Field_SetSelection('Text Field', 1, length('Text Field'));

    Menu_Invoke(MENU_ACTION_COPY);

    David

  • Sheila Ochoa Profile Picture
    855 on at
    Re: I would like to copy fields from GP to the clipboard using Dexterity

    I do see some Dexterity object functions suchas DexObject_addMethod(), DexObect_Create().  Would this be used and I could pass the shipping field from GP as properties?

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
babubaskaran@outlook.com Profile Picture

babubaskaran@outloo... 2

#1
Yng Lih Profile Picture

Yng Lih 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans