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)

How to populate a grid (form grid) of Dynamics GP using .NET

(0) ShareShare
ReportReport
Posted on by 1,848

Hello Users,

I want some help, I want to insert line in the following mentioned grid of this form, through .net/c#. I am unable to access fields of the grid from Form reference of this form in my .net code.

Bank.JPG

Any help would be appreciated and answer will be marked as verified.

Thanks,

MN

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    you have insert a storeProcedure in the table 

  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    You mean you are using VS tools? And how you referenced this form?

  • Suggested answer
    MG-16101311-0 Profile Picture
    26,225 on at

    You cannot insert a record to a Dexterity scrolling window from Visual Studio Tools. What you can do however is insert the record in the table associated to the scrolling window, then redisplay the window itself. Most inserts rely on a simple technique: you need to look at the line sequence number of the record above and below the point of insertion, i.e., if the line sequence number of the previous record is 32768 and the subsequent one is 49152, then the record you are trying to insert between those two will have a line sequence number of (32768 + 49152)/2 = 40960. Conversely, if you want to insert a record between your newly inserted record and the record above, then your new sequence number for the record to be inserted will be (32768 + 40960)/2 = 36864, and so on.

    The good thing about Visual Studio Tools is you do not need to create ADO connections if the table is not a temp table. Take a look at msdn.microsoft.com/.../cc543577.aspx for more information on how to work with Dynamics GP tables from Visual Studio Tools.

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
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans