Editable field in a non-editable form

sarmig
Member Posts: 89
Hello.
I need to make a field editable, but that field is on a non-editable form.
I've tried the most obvious options: setting the editable property of the field to "Yes", placing the line
CurrForm.EDITABLE(TRUE);
on the OnActivate trigger of the form, and yet, that field is still not editable.
Is there any other way to change the editable property?
I need to make a field editable, but that field is on a non-editable form.
I've tried the most obvious options: setting the editable property of the field to "Yes", placing the line
CurrForm.EDITABLE(TRUE);
on the OnActivate trigger of the form, and yet, that field is still not editable.
Is there any other way to change the editable property?
0
Comments
-
Is the editable property set to YES in form?
Check whether it is setting false some where else after your code..0 -
Yes, the form property is also set to "Yes".0
-
Then I hope somewhere in the down the track the field editable property is set to fasel.
please check that..0 -
I tried to debug, and the editable property is never set to false. Only to true...0
-
BTW, which form and field you are talking
What about the other fields in the form?0 -
I suppose it's a custom form (form 50061, links to the 50022 table).
It's a form that's supposed to be non-editable, since it's just a history form.
We have another form, the one currently used to input the data, exactly like this one, but that one is completely editable (50056, which also links to the 50022 table).0 -
If it is a list-form, check if the tablebox has property Editable=Yes
Check if the field in the table has property Editable=Yes. In a form the value "<Yes>" is NOT the same as "Yes". The "<Yes>" just means:take the value from the table.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
I already tried what I found in this topic
viewtopic.php?t=24881
I don't think it's a list form, because it's more like a header...
I changed all of the <Yes> to Yes and it's still non-editable...0 -
kriki wrote:Check if the field in the table has property Editable=Yes
May not be this, if editable property is set to No in table and we tried to make it to editable through coding
CurrForm.Field.EDITABLE(TRUE);
Then it will throughThe control XXX cannot be edited, because the underlying database field cannot be edited.0 -
Already tried via the properties and through coding...
It just doesn't become editable...
I even tried to create the field anew, but it's created already as non-editable...0 -
sarmig wrote:I don't think it's a list form, because it's more like a header...
You should check editable property in 3 places.
Form
TabControl
Field.(may not be in your case)0 -
I got it. I was forgetting the tab control properties...
Thanks a lot!!!0 -
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K 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
- 320 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