Trigger a validation after a SQL query

Can I trigger a validation after loading data from a SQL query?

 

The validation already works in the field when user input data, but I cannot make it work if the data comes from a SQL query.

Comments

3 comments

  • Comment author
    Geoff Booth

    How are you "loading" the data. Is this coming from a Boyum UF or ?. Do you exit the field after loading the data?

    0
  • Comment author
    Thyago Silva Campos

    The user clicks on a button that calls an UF. The UF loads the data on form fields, but the validation is not triggered.

    0
  • Comment author
    Geoff Booth

    I would modify the UF being called by the button.

    If the validation "always runs" then add a statement to call the UF:

    Sample: UF(UF-002); will call the Universal Function with Code = UF-002

    If the validation has criteria then you would need to add the criteria to your button UF as well.

    Is you need more assistance you might want to upload your code or screenshots to make it easier to see what you are doing.

    0

Please sign in to leave a comment.