C/SIDE source code for F3 Functionality

sakameeran
Member Posts: 52
Hi, Do u have any Idea abt How to write C/SIDE code on push event of button to clear the form controls in NAV (like function key F3 is doing)? Please reply me on sakameeran@gmail.com. Thanks in Advance
0
Comments
-
If your controls are bound to a record then Clear the record variable.sakameeran wrote:.Please reply me on sakameeran@gmail.com. Thanks in Advance
Isn't this a good place to reply? :-k0 -
kapamarou wrote:If your controls are bound to a record then Clear the record variable.
Could you plz give me C/SIDE source for that0 -
CLEAR(Rec);
Then you would have to follow the rest of the logic like no. series, insert etc...0 -
In a bound form you don't need to write any code. Simply hitting F3 will create a new record with all its initial values entered for you. There is no secret C/AL code in the background.
If they MUST click a button, they can click the 'New' button that is always on the toolbar. No development, no code, it's there and it always works the same.0 -
DenSter wrote:In a bound form you don't need to write any code. Simply hitting F3 will create a new record with all its initial values entered for you. There is no secret C/AL code in the background.
If they MUST click a button, they can click the 'New' button that is always on the toolbar. No development, no code, it's there and it always works the same.
Thanks Denster! In NAV the default thing is, If we entered one field, for ex name as 'AAA' and closed that window. If we opening the same window again there will data showing with name 'AAA'. But i want when opening the form, all the controls to be clear. Just like F3 functionality while opening the form (Not pressing F3). That is wt i decided that, while closing the window we can call (or write source of F3 functionality). So, Is it possible to write code for F3 Functionality, while clicking the button.0 -
You SOOO don't want to do that in my opinion.
Everytime you open that form a new record will be created if you want to or not.
Not a good plan. This has been previously discussed a few times now and the common consensus is that it is more of a training problem than anything else.
http://mibuso.net/forum/viewtopic.php?f=23&t=179990 -
[Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
When you open a form you are expecting to see data. That's the main purpose of a form, to display data. Why would you want it any other way? Definitely sounds like a training issue.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