ListFORM NonEditable other than Master Form !!
pskannaa
Member Posts: 138
Hi,
I hav one small doubt regards Form NonEditable
..having Card Form & List Form. Initially CARD,LIST form is loaded, need to set LIST Form is EDITABLE(TRUE). When i call from CARD form to VIEW LIST(F5), need to show the LIST Form is EDITABLE(FALSE) and where ever i m calling the LIST Form it should be EDITABLE(FALSE).
Is there any property to set VIEWING LIST Form is EDITABLE(FALSE) otherwise EDITABLE(TRUE)
Suggestion Plz...
Regards,
Psk
I hav one small doubt regards Form NonEditable
..having Card Form & List Form. Initially CARD,LIST form is loaded, need to set LIST Form is EDITABLE(TRUE). When i call from CARD form to VIEW LIST(F5), need to show the LIST Form is EDITABLE(FALSE) and where ever i m calling the LIST Form it should be EDITABLE(FALSE).
Is there any property to set VIEWING LIST Form is EDITABLE(FALSE) otherwise EDITABLE(TRUE)
Suggestion Plz...
Regards,
Psk
0
Comments
-
It depends on how you call the form.
You could try:CurrForm.EDITABLE(NOT CurrForm.LOOKUPMODE);
on the OnOpenForm trigger..0 -
thanks, 1 more ques..
how can i make noneditable fields in list form expect 1 field..
i want to enter the value in one field in List, other all fields in list and card form should be noneditable0 -
You'll need to make the form editable and change the property of each field... If you give a name to your control you can do this by code. But you'll need to explicitly set the property to each control...0
-
If you only want one field editable, but no others, you have to manually set each of those fields to non-editable. Setting the Form property overrides the field properties.0
-
Is there any option to get all current form fields one by one using looping...so that i can check the loop in particular control(field) which i do not want to editable and non editable..
like...declare a variable as CONTROL and read all fields using loop and assigned to the var.
if var.controlname <> 'No' then
make non editable
....one of the programing logic is this....can we work out the same in NAV ?????0 -
No. ](*,)0
-
but you can workaround if the fields that must be editable are less than the fields that mustn't be editable:
putcurrform.editable(true);
in the onactivate trigger of your field
and thiscurrform.editable(false);
in the ondeactivate trigger of your field.
obviously, put acurrform. editable(false);
in the onopen trigger of the form
P.S.: thanks to tinorujis
http://www.mibuso.com/forum/viewtopic.php?f=5&t=248810 -
Yea...this logic is workout....Thanks buddy0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 324 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
