This topic is locked

UserID and UserIP after edit record

7/31/2008 1:05:48 AM
ASPRunnerPro General questions
S
sfhussain author

HI,
I am new in ASPRunner, i just need to know that is there any option in which if any of my user edit any record so i can see his userID and userIP in List page?
I have already did it on ASPMaker pro.

J
Jane 7/31/2008

Faraz,
set up default value for your field in the Before record updated event on the Events tab.

Here is a sample:

dict("UpdatedBy") = Session("UserID")



where UpdatedBy is your actual field name.

A
akira_nagasaki 8/20/2008

let say i have table userlogin and field as below
userID

pwd

member

group
my question is beside userID how can i add member into listing table?
i try using code as below
dict("Created by") = Session("UserID")

dict("Created on") = Now()

dict("member") = Session("member")
but it;s empty.. pls help <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=32371&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />

A
akira_nagasaki 8/20/2008

i solved it i used
dict("member") = Session("OwnerID") <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=32374&image=1&table=forumreplies' class='bbc_emoticon' alt=':lol:' />