Gossamer Forum
Home : Products : DBMan : Discussions :

Userid

Quote Reply
Userid
When one user creates a record and another user modifies it, is the userid supposed to change to the user who modified the record? If so, I have setup something incorrectly because it's not happening, and I want it to happen. Is this possible?

I have three registered users setup by the Admin. All can add, delete and modify but we need to display who modified a record.

I searched the forums with various terms on permissions and userid with no luck.

Thanks

Quote Reply
Re: Userid In reply to
No...what you need to do is add another USERID field in the default.cfg and then update your existing default.db file.

Then in your sub html_record_form add the following codes:

Code:

print qq|
<input type="hidden" name="Modify_UserID" value="$db_uid">
|;


Regards,

Eliot Lee
Quote Reply
Re: Userid In reply to
Wow! That was a really quick response.

Thanks for the help Eliot.

JimN

Quote Reply
Re: Userid In reply to
You're welcome.

Regards,

Eliot Lee