Please enlighten me:
I have two tables and two forms called branch and brand. The brand contains the ralation with branch.
That means the brand contains a field called branch which has relation with branch table. Now The branch also has a list whose editable is set to false.
In my case, the branch list should be non-editable when I press f5 in branch form and should be editable when I lookup from brand table. Please tell me how can this be done. Any help will be appreciated.
0
Comments
Create a function on your list form called SetEditable.
Pass this function a Boolean which you can use to set the mode of your form
Code your lookups similar to:
www.NextEqualZero.com
A technical eye on Dynamics NAV
Any further suggestions?
Set any filters:
Set the lookup mode:
Call your SetEditable function:
Call the form, retreive the record and process as required:
e.g.,
www.NextEqualZero.com
A technical eye on Dynamics NAV