Results 1 to 3 of 3

Thread: Inserting initial data

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

    Inserting initial data

    Hi guys

    We have got the BeforeUpdate() delegate working perfectly to tidy up data that has been entered or to inject other filler data at the point of save in web.

    But if we wanted to inject screen values / data immediately when a record is created (ie company info etc) we have been using the AfterCreate() delegate. In app builder that works well but cannot get the AfterCreate() delegate to fire in web. Even tried BeforeCreate() which is probably the wrong place but cannot get that delegate to fire in web either.

    Any thoughts?

    Thanks in advance



    Simon

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,163
    Blog Entries
    22
    Hi Simon

    Aftercreate is the wrong place. Use beforecreate.

    Alternatively use initformdefaults
    https://www.lianja.com/community/sho...ults#post19719
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Senior Member
    Join Date
    Jan 2014
    Posts
    369
    Thanks for the heads up.

    Cannot get BeforeCreate() to fire in web but initformdefaults() works great - thanks

    Cheers


    Simon

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