Select a dimension code

CrunchCrunch Member Posts: 38
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;

Answers

Sign In or Register to comment.