Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tech:codecharge:default_user_id_to_logged_in_user [2014/11/15 09:13] (current)
Line 1: Line 1:
 +====== 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.
  
 +===== CREATE_USER_ID =====
 +Steps
 +  - Before Insert (Record) Event
 +  - Add Action - "​Retrieve Value for Control"​ & Set
 +    - Control Name = USER_ID (or whichever the name is for that table/form)
 +    - Source Type = Session
 +    - Source Name = UserID

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