Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

To show only one element of dimension on dialog form

rated by 0 users
This post has 1 Reply | 2 Followers

Top 500 Contributor
Male
Posts 75
Points 1,080
Member since 10-04-2007
manish_s Posted: 06-18-2008 13:16

Hi,

I want to show only one element of dimension on dialog form.

Say, that field on dialog form on look up should show all departments of ProdTable only.

Not all departments of Dimension table.

I can create a new edt and new form and attach that form with newly created edt That form, I can use for showing the lookup on

dialog form for ProdTable.dimension[1].

But i want any other better approach.

Any help is appreciated.

Manish

Manish
  • | Post Points: 20
Top 75 Contributor
Male
Posts 247
Points 2,400
Member since 03-23-2005
Moderator

Well, you could start by reading this article:

http://iloapp.studioerudit.com/blog/daxfaq?Home&post=7

 

It shows how to override specific control events for dialog controls (RunBase Framework dialogs).

So you can override the lookup method on this control of yours and just create a custom lookup (use Classes\SysTableLookup for this, for example) that would only show the needed departments

Kashperuk Ivan (Vanya)
My blog
Dynamics AX links
Page 1 of 1 (2 items) | RSS


Copyright Dynamics User Group, 1995-2009, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.