Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

how to create Add\Remove functionality between two grids

$
0
0

Hi!

 

I have just started learning AX2012 and I'm working on a form where the user can add contact persons from one table to another, and remove them again. Below is a screenshot of the part i'm struggling with. there are two buttons as you can see. an add button, and a remove button.

some basic(?) questions:

- is there already an inbuilt add/remove functionality between grids/tables for this in AX2012? If so i couldn't find it by searching google.

- how do i get the currently selected/marked record in the grid so that i can insert that record into the opposite table?

- how do i get the grids to refresh/update "runtime" while in the form after the button is pressed?

- The way i'm trying this right now is having two identical tables with different names, and i just insert and delete from the tables correspondingly. Is this the "right" way of doing this or should i take another approach (temp tables, querybuildranges or some other magic perhaps)?

 

hope this post describes my problem. 

Thanks, guys.

- Kent

 

 


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>