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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How to add records to the serial entry grid?

(0) ShareShare
ReportReport
Posted on by 95

Dear fellows:

I am developing a GP 2013 VBA customization in order to populate the list of serial numbers in POP_Serial_Entry window with records that come from a custom table. (The image is in Spanish).

 

With a button in this window I am able to call another windows where I select the items I want from that table.

After confirmation, I want to populate the grid with those serial numbers.

My problem is I don't know how to add records to it nor can I see the name of the control inside the form.

Any help would be very appreciated,

Thank you very much,

Gustavo

*This post is locked for comments

I have the same question (0)
  • L Vail Profile Picture
    65,271 on at

    Your screenshot did not display. You must insert it from a physical file - copy and paste does not work.

  • Buitre Profile Picture
    95 on at

    Sorry, here it is the image.

    1715.Image2.png

    Adn another one with what I see at the VBA Project:

    Thank you,

    Gustavo

  • L Vail Profile Picture
    65,271 on at

    The 'control' you are speaking of is a scrolling window. GP scrolling windows do not act like the grid control you might be accustomed to in VB or VBA. The scrolling window is attached directly to a table, in this case I believe the table to be the IV00200 table. Here's a piece of wisdom from David Musgrave:

    The usual method of filling a scrolling window is to use VBA to run the button or field script that contains the Dexterity fill window

    command.

    For example:  You can run the Redisplay Button, or store the key field and run Clear Button and enter the key field value back to re-

    load the record and re-fill the scrolling window.

    You can also look at the unsupported method of running pass through sanscript via the continuum library to issue a fill window

    command.

    So you see, doing what you are trying to do with VBA is quite challenging. Have you considered doing this using Dexterity? It would be much easier.

    Kind regards,

    Leslie

  • Buitre Profile Picture
    95 on at

    Thank you, Leslie.

    I was hoping there were a way to do it in VBA, but as you say it seems to be quite difficult.

    I will then try with Dexterity.


    Best regards,

    Gustavo

  • Suggested answer
    soma Profile Picture
    24,410 on at

    You need to insert the values to Attache Table of serial number scrolling window and call the Redisplay button script. It will work.

    Hope this helps!!!

  • L Vail Profile Picture
    65,271 on at

    Yes, this will work,

    All you are doing here is writing to the database table and refreshing the window to read from the table. I thought he wanted to display it on the window after he entered it on the transaction so that the regular business logic would run.

    I'm probably wrong about that - thanks for the input. :)

    Kind regards,

    Leslie

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Shravan Attelli Profile Picture

Shravan Attelli 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans