I want to have an administrator be able to log into the databse, create records, and then have users be able to log in and view only the records designed for them.
I have turned the "Registered users: can view _only_ own records" feature on. I've defined field 0 as the userid field, and modified html.pl so that that field is editable by the administrator. The only problem I'm running into now is that "admin" is automatically the value for field 0, even though I type in a different value on the Add screen.
For some reason I remember having this work out fine before I started customizing html.pl. I tried turning autogenerate forms back on, but still no luck.
Any suggestions would be appreciated.
-Dave Schuster
I have turned the "Registered users: can view _only_ own records" feature on. I've defined field 0 as the userid field, and modified html.pl so that that field is editable by the administrator. The only problem I'm running into now is that "admin" is automatically the value for field 0, even though I type in a different value on the Add screen.
For some reason I remember having this work out fine before I started customizing html.pl. I tried turning autogenerate forms back on, but still no luck.
Any suggestions would be appreciated.
-Dave Schuster