A TECHNICAL EYE ON DYNAMICS NAV

Quick Tip of the Week: Listing option string values

in Quick Tips by Ian Crocker


Ever been writing a piece of code where you need to reference a specific value in an Option type field but either couldn’t remember the value you want to use or simply want to see a list of all the existing options?

One way to do this would be to open the table, select the field in question and look at the values in the OptionString property.

A faster way is to write your code as far as possible, then, using an arbitrary value such as x, place this where you would normally put the option string value.

In the example below I want to check the document type of a Cust. Ledger Entry record:

  1. IF CustLedgEntry."Document Type" = CustLedgEntry."Document Type"::x THEN

Hit F11 to compile the code.  

It won’t compile because x is not a valid option string value.  

However, listed in the error message returned by the compiler will be a handy reminder of all the existing option string values for the field:

WordPress for iPhone

in General by Ian Crocker


Photo credit: Fr3d.org

WordPress for iPhone is a cool app released today by Automattic, Inc.

Available from the Apple App Store it allows you to access your self-hosted or wordpress.com blog directly from your iPhone.

For more information visit iphone.wordpress.org

My Dynamics NAV blog moves into a new home

in News by Ian Crocker


Photo credit: mcclouds

Hello and welcome, visitors new and old.

Nextequalzero.com is the shiny new home for my Microsoft Dynamics NAV blog, previously hosted alongside my personal blog at revolution1210.com

Why has it moved?

There are three main reasons:

  1. I wanted a specific domain for my Dynamics NAV blog posts.
  2. I wanted to switch to a cheaper, open source friendly web host
  3. I wanted to switch to the WordPress blogging/cms platform

The blogs previous home was entirely hand crafted in classic ASP and was somewhat frustrating to maintain at times.

The upshot of all this being that I will hopefully be able to dedicate more time to posting.

If you subscribed to the old site, please feel free to do so again.

Dynamics PartnerSource to get its RSS wings

in News by Ian Crocker


Photo credit: adactio

I was reading an article on PartnerSource today which details various changes Microsoft have planned for the website in the coming months.

One which grabbed my attention was their intention to build in RSS support, enabling us to subscribe to content and receive updates via our favorite news readers.

This is good news indeed.

Click to continue →

Keep your finger on the pulse with Google Alerts

in General by Ian Crocker


Photo credit: seb|kaz

Google Alerts are brilliant.

Do you already use them? If so, then you’ll know what I mean.

If not, they’re a great way to keep up to date with fresh news and discover new content within your particular areas of interest.

Google will inform you when new subject matter is found, either in the blogosphere or the wider web by mailing you a list of links plus a short extract of the content.

Click to continue →

Next,

What's cooking?

Photo credits