Gossamer Forum
Home : Products : DBMan : Customization :

(can't find requested record)

Quote Reply
(can't find requested record)
Heya JPD,

I have a problem Modifying records in my latest database. I can log in, search for records, they show up, but as soon as I try to Modify I get:

There were problems modifying the record: (can't find requested record)
Please fix any errors and submit the record again.

This happens even when I log in as Admin. I use a Userid field. Here are some settings:

$db_key = 'Userid';
$db_key_track = 0; (I use unique userids)$auth_user_field = 44; (the # of Userid)

What message would I get if the DB file is locked by someone else?

Adding works fine. Deleting works fine. Where should I start to look?






------------------
Safe swoops
Sangiro

www.dropzone.com/


[This message has been edited by sangiro (edited July 29, 1999).]
Quote Reply
Re: (can't find requested record) In reply to
It's almost certainly something to do with your key field. Do you have a field in your form for the key field?

You probably wouldn't get an error message if the file was locked by someone else. It would just take longer for things to happen.


------------------
JPD





Quote Reply
Re: (can't find requested record) In reply to
No I didn't have one! I figured...seeing as I don't want them to change it... but of course it still needs to be there to be able to save the info when modifying!

For the sake of others who may make the same stupid error as I did, this fixed it in my form:

Code:
<input type="hidden" name="Userid" value="$rec{'Userid'}">

Thanks Carol!


------------------
Safe swoops
Sangiro

http://www.dropzone.com/
Quote Reply
Re: (can't find requested record) In reply to
Well, don't feel too bad. If others hadn't made the same error -- including me! -- I wouldn't have thought of it to ask. Smile


------------------
JPD