[Axapta-Knowledge-Village] Re: Adding a button to a form

2009-04-16 Thread r_ssh
Girac, If you requirement is something like opening the document directly instead of doing the same thru multiple forms. Then override the clicked() method of the button with the following piece of code WinApi::shellExecute('winword.exe') --> This will directly open the documents. But the limi

[Axapta-Knowledge-Village] Re: Adding a button to a form

2009-04-15 Thread Girac
Hello Santosh I have that option checked and have the button next to my alert, but I want to add a button on the form that when pressed will open the Document handler and select my "New>Document" that I specify, instead of the user having to click the DocHandler, then New, then find the right wo

[Axapta-Knowledge-Village] Re: Adding a button to a form

2009-04-15 Thread r_ssh
Hi Girac, Any form which is designed will have the "Document handling" button readily available. Please enable the Document Handling via Tools > Options > Enable Document Handling active.(This is generic way where it enables globally to all the forms in AX) Hope this answers your query. Than