Mato
|
Posted: 09/30/2003, 6:05 AM |
|
Hi.
I want to go directly from a loginform to a recordform (edit)
The ID of the user is the ID of the record.
I can manage to open the recordform when I login, but the record is empty.
The user is supposed to be able to edit his own record, and no other
records.
Please help me get started!
Best Regards
Tor, Denmark
|
|
|
Dave Rexel
|
Posted: 09/30/2003, 12:13 PM |
|
::
Hi Mato
In your recordform Have you tried WHERE ID = CCGetUserID() in the SQL Query?
This will restrict the record to the ID of the currently logged-in user.
Hope this helps.
Dave
"Mato" <torvalNOSPAM@mail.tele.dk> wrote in message
news:blbv2a$kkc$1@news.codecharge.com...
> Hi.
> I want to go directly from a loginform to a recordform (edit)
> The ID of the user is the ID of the record.
> I can manage to open the recordform when I login, but the record is empty.
> The user is supposed to be able to edit his own record, and no other
> records.
> Please help me get started!
>
> Best Regards
> Tor, Denmark
>
>
|
|
|
|