Insert a record

How to insert a record to table by clicking menu item button

Hi Kavitha,

Please give more details.

user will enter some data in the grid. after completed the data entry process if user will press menu item button that record will insert into table. pls let me know if u have any doubt on this query.

Hi,

I hope you realise that when user enters data in a grid, by default Ax would save the record. Unless you want to do things like initialise number sequence, you do not have to do anything extra for this default standard functionality.

But if you want to do what you want, you have to do something like -

  1. Create grid with unbound controls
  2. On click of a button (under the clicked method), you can write the insert routine

But as I said unless you have a business requirement I would prefer the first solution which is default and standard.

Hope this helps,