Syntax of Edit method

rashi.kaushikrashi.kaushik Member Posts: 52
edited 2006-03-01 in Dynamics AX
Hi All

I want to access a field from a table on my form.
The table is not in the form's data source.
Can anyone tell me how can i write an Edit method to display and edit that field on my form.

Thanx in advance
Rashi

Comments

  • MugurMugur Member Posts: 93
    Hi,

    There are some explanations in Ax. dev. guide (you must search by "edit method"). Please notice the difference between edit methods on the form datasource vs. on the table itself.
    Kind regards,

    Ciprian Dudau
    Axapta Developer
  • rashi.kaushikrashi.kaushik Member Posts: 52
    Tried a lot but not able to get it on the form

    Thanx
    Rashi
  • vulamvulam Member Posts: 24
    try this.

    edit str test(boolean set, str _editedText)
    {
    if(set)
    {
    // update _editedText data here
    }
    else
    {
    return what ever you want here
    }

    }

    Hope this help you in some way.
Sign In or Register to comment.