Charl Du Toit
|
| Posted: 12/13/2002, 3:39 AM |
|
Hi all
I have built a webapplication that keeps track of contacts. Its done in ASP
and MS Access. This is my prob
When someone creates a new record i log the users userid in a field. The
field on the asp page gets filled in automatically. I do this by setting the
default value of the inpput box to ( -- session("userid") --). When someone
else edit's the record it should fill in that users id when that user clicks
on submit. But for some reason it only comes up with thae value that was
previously stored in the DB. I can get the input box on the update page to
display the current user's id.
Please help
Regard
Charl
|
|
|
 |
JCF
|
| Posted: 12/13/2002, 7:45 AM |
|
I was trying to do this with PHP and MySQL and the way that I got it work
correctly was to us the Custom Update feature - There you force the UserID
to be the LoginID just make sure you set the record ID = ID or you will
update all the records in the database.
JCF
"Charl Du Toit" <charl@dkalmin.co.za> wrote in message
news:atcgtl$qrj$1@news.codecharge.com...
> Hi all
>
> I have built a webapplication that keeps track of contacts. Its done in
ASP
> and MS Access. This is my prob
>
> When someone creates a new record i log the users userid in a field. The
> field on the asp page gets filled in automatically. I do this by setting
the
> default value of the inpput box to ( -- session("userid") --). When
someone
> else edit's the record it should fill in that users id when that user
clicks
> on submit. But for some reason it only comes up with thae value that was
> previously stored in the DB. I can get the input box on the update page to
> display the current user's id.
>
> Please help
>
> Regard
> Charl
>
>
|
|
|
 |
|