Auto populate USER_ID on inserting a record

Codecharge form with tables having data by user_id needs to auto populate the user_id fields to the logged in user. Here is how it can be done.



  1. Before Insert (Record) Event
  2. Add Action - “Retrieve Value for Control” & Set
    1. Control Name = USER_ID (or whichever the name is for that table/form)
    2. Source Type = Session
    3. Source Name = UserID

QR Code
QR Code tech:codecharge:default_user_id_to_logged_in_user (generated for current page)