Welcome to MSDN Blogs Sign in | Join | Help

July 2006 - Posts

isTypeTime

Checking if a certain data field is of the ”time” data type is not as obvious as you may think. Your first few attempts will most likely just tell you that the type of your field is Integer. Here’s a job with a small snippet of code showing you how to

Runtime modification of Auto Design report sections

When you use Auto Design sections in your reports you don’t have to worry a lot about the design of the report. Everything will print just nicely. But Auto Design is problematic to work with if you want to runtime change one of the reports controls in

Main Menu retro

I really encourage you to work with the new navigation pane in 4.0. When you get accustomed to it, I think it’s much better to work with than the old menu and with the coming improvements in 4.0 SP1 (like auto hide) it is really a great tool. Some people
Posted by Palle Agermark | 2 Comments
Filed under:

Get the caption of a running form

Here is a small tip on how you from code can get the caption of a running form: static void GetCaption(Args _args) { Args args = new Args(formstr(CustTable)); FormRun fr = ClassFactory::formRunClassOnClient(args); ; print Winapi::getWindowText(Winapi::getForegroundWindow());

“Listen carefully, I shall say this only once...”

If you are a fan of the old BBC sitcom “Allo Allo” you will most likely recognize the sentence “Listen carefully, I shall say this only once”. If not, please hold on, I promise the rest of this post will make more sense. In 3.0 a few new methods were
Posted by Palle Agermark | 2 Comments
Filed under:

Is there anything Excel isn't a good tool for?

Well, it can't brew coffee - yet. I regularly use Excel when I need to analyze AX internals like table setup or the cross reference. So I thought I'd share one of my jobs with you and hopefully you will find it inspiring. I just want to show you the principles

Interview about the comming "Inside Microsoft Dynamics AX 4.0" book

Here's an interview with one of the main authors and a good colleague of mine, Michael Fruergaard Pontoppidan: http://www.harishm.com/Navision/Ax4book.html Also be sure to visit his blog . This posting is provided "AS IS" with no warranties, and confers
Posted by Palle Agermark | (Comments Off)
Filed under:

Activating a custom toolbar

In my previous post I gave a short example of how you can use a regular form to create a new custom toolbar. That was the easy part. You would of course want to make it easy to access the toolbar and with this post I will describe a suggestion for doing

Custom toolbars in AX

A question that pops up again and again in the AX newsgroups is how one can modify the toolbars in AX. The short answer is always "You can't". But what you can do is to add new toolbars. Toolbars can be created from regular forms with a special setting
Posted by Palle Agermark | 2 Comments
Attachment(s): aaaToolBar.xpo
 
Page view tracker