Gossamer Forum
Home : Products : DBMan : Installation :

List All not working

Quote Reply
List All not working
I just setup the default DBMan installation files which worked just fine, then I used JPDeni's DBMan configurator and created customized forms and database. Put a blank default.db file and logged in. I can add, modify, search, etc. but I get error when I hit "List All". Server says "Bad command". I cleared the &$db_key=* in my sub html_footer and I don't get error but then I get "There were problems with the search. Reason: no search terms specified".
If I perform search with "*" in a field, it works fine.
Where is the problem with "List All" performing the action? Or do I need to modify something else?
Quote Reply
Re: List All not working In reply to
How are you linking the "List All" link?

Please provide the code.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited September 15, 1999).]
Quote Reply
Re: List All not working In reply to
print qq!| <A HREF="$db_script_link_url&view_records=1&$db_key=*">List All</A>
Quote Reply
Re: List All not working In reply to
Maybe you have to add to your link '&ID=*' and let the $db_key as it was.

[This message has been edited by mart (edited September 15, 1999).]
Quote Reply
Re: List All not working In reply to
Glad that it worked!

Smile

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: List All not working In reply to
Yeah, I figured it out there was something wrong with my key field. Added an ID and set it as key, and it works!

Why is it that it works with ID (numer) as a key and not as say "Name" without having an ID field?

Just wondering...
Quote Reply
Re: List All not working In reply to
Great forum! Great script! Thanks!