Results 1 to 5 of 5

Thread: Record Level Validation

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    351

    Record Level Validation

    Hi All

    May I know which delegate should I use to put my record level validation code for a form section?
    If the record validatation OK, I wish to update some other table record. May I know which delegate to put the code to perform such update?

    I see the following delegates for form section
    a) Change
    b) After Data Changed
    c) Before Data Update
    d) After Data Update

    May I know the difference between "After Data Changed" and "After Data Update"?

    Your assistance to clarify much appreciated

    Thanks & Best Regards

  2. #2
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,841

  3. #3
    Senior Member
    Join Date
    Jul 2019
    Posts
    175
    Hi Yvonne,

    May I know which delegate I should use to do record validation in the standard form section?

  4. #4
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,841
    Hi WJ,

    Use the section 'Before Data Update' delegate. If the validation fails, call the section's cancel() method.

    Regards,

    Yvonne

  5. #5
    Senior Member
    Join Date
    Jul 2019
    Posts
    175
    Hi Yvonne,

    Thanks for the tip.

    Best Regards

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us