N
|
nti 5/9/2011 |
Your question is too vague. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=58193&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> |
U
|
unsearcheable author 5/9/2011 |
Your question is too vague. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=58198&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
|
N
|
nti 5/9/2011 |
Maybe to do something like you describe is to have a field in the table like: Editor
|
![]() |
Sergey Kornilov admin 5/10/2011 |
The simplest way is to set default value of the field in question to $_SESSION["UserID"] $values["Editor"] = $_SESSION["UserID"]; |
U
|
unsearcheable author 5/10/2011 |
The simplest way is to set default value of the field in question to $_SESSION["UserID"] The following will work as well in events like BeforeAdd/BeforeEdit: $values["Editor"] = $_SESSION["UserID"];
|
N
|
nti 5/10/2011 |
what !Editor" is ?
|
U
|
unsearcheable author 5/16/2011 |
Editor is the NAME of MYFIELD wich I use in MY TABLES. I create TABLES and have a FIELD/COL called Editor. I also use FIELDS called: EditDT and Editip. I utilize the following code to capture the UserID, Users IP Address and Edit DateTime.
|
U
|
unsearcheable author 5/29/2011 |
Ok, alredy pulled it off, but chaging Lookup Table to ReadOnly i loose user name that is in another table.. |
J
|
Jane 5/30/2011 |
Hi, |
U
|
unsearcheable author 5/31/2011 |
Hi, you can set up this field as disabled in the JavaScript onload event on the Eventstab: http://xlinesoft.com/asprunnerpro/docs/ctrl_setdisabled.htm
|
J
|
Jane 6/1/2011 |
Hi, $values["Editor"] = $_SESSION["UserID"];
|