Identify which Validation called a Macro

Answered

Comments

3 comments

  • Official comment
    Avatar
    Yaremi Miranda Lopez

    Hello Guy,

    You can use this option to identify where is the UF used.

    Comment actions Permalink
  • Avatar
    Guy Reynolds

    Hi Yaremi

    This does not really answer my question.

    It is not a case of looking to see where a macro is used but finding from within a running macro what called the macro to set it running.

    I have several different validations within certain forms and across several different types of form (all marketing documents). When triggered the each validation calls a macro individual to the validation however >80% of the code is common to all of the macros. What I would like to be to do is instead of having 10 macros which have 80% common code and 20% different depending on the Validation which uses it, is to have one macro with conditional statement based on the calling Validation. ie

    Common code

    If Valdation1 do some code specific to Validation1

    If Valdation2 do  some code specific to Validation2

    .............

    But to do this I need to know the Validation which called the macro.

    Comment actions Permalink
  • Avatar
    Yaremi Miranda Lopez

    Hello Guy,

    We don't have a report like this, the only ones we provide is the one I already mentioned and the one for the categories.

    Comment actions Permalink

Please sign in to leave a comment.