This topic is locked

updated by

8/25/2008 11:13:48 AM
ASPRunnerPro General questions
D
dunga author

hi, i have a database which is used by several users.

I have a "updated by" field which i would like to show who made the last update.

how to acomplish thatt?

I don't even kknow where to start
my ultimate goal is that when user adds/edits a record to have it recorded in the database and dislayed in the unpadet by field.
i have a login field already present in the database which is added to utilized users can see all but edit own data fields, but It is always blank...please help is possible....
thank you

J
Jane 8/26/2008

Hi,
just use Session("UserID") as default value on the "Edit as" settings dialog on the Visual Editor tab for UpdatedBy field.

D
dunga author 8/26/2008

thank you Jane, fantastic, but now here is another problem,
how to make sure that user cannot change the value of the updated by?
currently session(UserId) is automatically populated as you kindly suggested, but user still can manualy change the userid in the box, I tried to use it as a readonly in the visual editor, but it did not work. please help.
thank you

J
Jane 8/26/2008

Hi,
you can set up it as readonly on the "Edit as" settings dialog on the Visual Editor tab.

D
dunga author 8/26/2008

hi, Jane,

I just did it, it does not show the name, just blank field.

J
Jane 8/26/2008

It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and send to support@xlinesoft.com a URL to your pages along with instructions on reproducing this error.

I'll find what's wrong with your project inspecting it at Demo account site.

D
dunga author 8/26/2008

hi, Jane, thanks, i just did sent you an email.