Make a field respond to onPush event, form editable=false?

Brannmark
Member Posts: 9
Is it possible to make a field in a sub form respond to onpush event even if the subform has editable = false?
The form can not be changed over to editable true as then I will have loads of problems when filter is out of range...... This is by the way form id 7172...
Anyone have a suggestion?
The form can not be changed over to editable true as then I will have loads of problems when filter is out of range...... This is by the way form id 7172...
Anyone have a suggestion?
0
Comments
-
Maybe the OnActivate trigger? I didn't try or anything, but even if something is not editable it seems as though that trigger should fire.0
-
Hi,
Not sure what you're trying to do here (F7172 is Sales Lines Subform)
But the best way to do this is to make all the fields in-editable, left the fields that you want to play around with to be editable.
my 2 cents,
Rgds,
Jon.Rgds,
Jon.0 -
A subform shows data. You can program a button on the main form to manipulate data, regardless of the editability of the controls on the subform. So to answer your question yes you can change data on the subform as a result of clicking a button on the main form. You will need to do Currform.UPDATE to make the form refresh though.0
-
It's very simple.
On the field set the assistedit property on True.
The you can put your code in the onAssistEdit trigger.
Instead of pushing on the field the user just has to push on the onassistedit button in the field.
I think this is the best solution four your problemRealisations are only limited by the borders of imagination0
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