no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | tech:codecharge:default_user_id_to_logged_in_user [2014/11/15 15:13] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
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 - " | ||
+ | - Control Name = USER_ID (or whichever the name is for that table/form) | ||
+ | - Source Type = Session | ||
+ | - Source Name = UserID |