Belgian Dynamics Community Annual Event 2010

  • April 7, 2010
  • 0 Comments

The Belgian Dynamics Community is organizing it’s annual event on the 22nd of April in San Marco Village. On the agenda: Keynote : Babyboomers and Digital Natives- key trends for the next decade (Herman Konings) Breakout Session Dynamics AX: Mobile working and ERP: opportunities and challenges (Finn Pedersen, ExpandiT) Breakout Session Dynamics NAV : Technical … Continue Reading

Scott Hanselman: blog improvements

  • April 6, 2010
  • 1 Comment

Last week I on TechDays I attended the session of Scott Hanselman ‘32 Ways to Keep Your Blog from Sucking‘ and maybe some of you have noticed, but I already made some small changes: I placed a Creative Commons attribute below (License Your Blog) I started using my del.icio.us account again and placed a link … Continue Reading

Test if a configuration key is enabled in X++ code

  • March 22, 2010
  • 0 Comments

How do you execute code when a Configuration key is enabled? It is pritty easy. Ax x++ has a build-in function ‘isConfigurationKeyEnabled’, witch you can use to check a configuration key. Small example: if (isConfigurationKeyEnabled(configurationkeynum(AIF))) { // Do something… }if (isConfigurationKeyEnabled(configurationkeynum(AIF))) { // Do something… }

Setting propperties on a FormControl without AutoDeclaration

  • March 19, 2010
  • 2 Comments

When you want to set a property of a control on a form without setting the property AutoDeclaration = yes. You can address the control trough the following code, knowing that element is a FormRun-object: element.design().controlName("btnOk").visible(false);element.design().controlName("btnOk").visible(false);

Microsoft Tag

  • March 18, 2010
  • 1 Comment

Maybe you have seen strange images like the one below. When you have the ‘Microsoft Tag Reader‘ application, you can read the message/link/vCard/… behind this image. You can also create your own Tag’s at http://tag.microsoft.com.

TechDays 2010 – Ticket

  • March 17, 2010
  • 0 Comments

Yesterday I got a mail wtih the subject ‘TechDays 2010 – E-Ticket’. So there is no turning back 🙂 Now I just need to descide witch sessions to take.

Create class from code

  • March 11, 2010
  • 0 Comments

Did you know that you can build/modify classes from code? It is actually not so hard, just use the ClassBuild-class. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 static void JeDoe_testClassBuild(Args _args) { ClassBuild classBuild; ClassNode classNode; Str myCode; ; myCode … Continue Reading

Catching a key-press

  • March 10, 2010
  • 1 Comment

When you want to catch a key-stroke on a form, you can override the method task() The default method will look like this: public int task(int _taskId) { int ret; ret = super(_taskId); // write you’re code here return ret; }public int task(int _taskId) { int ret; ret = super(_taskId); // write you’re code here … Continue Reading

Counting the number of records in a QueryRun

  • March 9, 2010
  • 0 Comments

When you want to count the number of records that are currently displayed on a form, and you have only one data source, just call the static method countTotal() from the SysQuery-class. public void executeQuery() { ; super(); info(int2str(SysQuery::countTotal(EmplTable_ds.queryRun()))); }public void executeQuery() { ; super(); info(int2str(SysQuery::countTotal(EmplTable_ds.queryRun()))); } But when you want to do the same … Continue Reading

The Args class

  • March 8, 2010
  • 0 Comments

The args class is probably the class u use most in Ax, and this probably even without knowing. This class is used to give arguments from one object to a new object. For example when you click on a menu-item to open a class, the menu-item will pass a args-object to Main-Method of your class. The … Continue Reading