in

Dynamics User Group

Since 1995 - The Microsoft Dynamics Online User Community

EDT as an Array

Last post 08-19-2008 15:13 by Edesigner. 2 replies.
Page 1 of 1 (3 items)
Write a New Post Sort Posts: Previous Next
  • 08-14-2008 14:58

    EDT as an Array

    Hi,

    I have an EDT as an Array of 3 elemetns, which is saved in a table as three fields. I have to display the value of all three fileds in a report if they are not empty. How can i get the value of these fields in code by writing a display method.

    thanks 

     

    • Post Points: 20
  • 08-19-2008 8:08 In reply to

    Re: EDT as an Array

     Hey,

    This is really good question "I Like it".

     

    Actually Dimension is a good example for your case,

    first of all you should as what microsoft do with Dimension

    1- Define extended data type as Array it self with two internal Arrays,

    so we end up with three Arrays.

    just look to the Dimension extended data type it is a live example.

     

    2- this is the answer to your question

    you can diplay it one by one.

    Example to display Department (Dimension 1)

    <

    display sysdim Dimension1()
    {
        return CustTrans_1.Dimension[1];
    }

    >

     Thats it

    Free Palestine
    • Post Points: 20
  • 08-19-2008 15:13 In reply to

    Re: EDT as an Array

    Appreciate your answer brother. I have tried and its working now.

    thankyou

    • Post Points: 5
Page 1 of 1 (3 items)


Copyright Dynamics User Group, 1995-2008, all rights reserved. This website and user group are independent and not affiliated with the Microsoft Corporation.