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.
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.
Comments
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.
Ciprian Dudau
Axapta Developer
Thanx
Rashi
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.