Sorry if this seems a silly question, but still trying to get to grips with dimensions.
I'm trying to make/run a report with (1 or more) Customer as data item. I would like to select a single dimension code among the dimension codes for customers from the request form. I made a textfield with source as dimCode - code and table relation to "Default Dimension".
I see the lookup button, but nothing happens when pressed.
EDIT: Added relation "Default Dimension"."Dimension Code" and code on OnLookup, so making progress:
IF FORM.RUNMODAL(FORM::"Default Dimensions",DefaultDim) = ACTION::LookupOK THEN BEGIN
DimCode := DefaultDim."Dimension Code";
//perhaps more here.
END;
0
Answers
You can set Dimension in TableRelation and lookup also works..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Hope that made sense.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I just finally realized what the tables Dimension, Default Dimension, and Dimension Value truly represent in relation to each other.
I use Dimension as suggested, and it works, and my understanding is now in place as well. :thumbsup: