Home : Products : DBMan SQL : Discussion :

Products: DBMan SQL: Discussion: Re: [Hank] Search Options limited?: Edit Log

Here is the list of edits for this post
Re: [Hank] Search Options limited?
Hi,

In Reply To:
registered members (sellers), may only add and modify their own info, and search
You can use the "Setup" function in Admin section to setup all properties of a table.

In Reply To:
but it would show limited results
DBMan SQL 2 doesn't support for that. Anyway, you can follow the following steps to change it:

1. Add a field in Users table: level enum['1','0']

2. Modify the search_results.html file, It'll look like:
<%if level%>
<%loop results%>
<%field_1%>.....<%field_n%>
<%endloop%>
<%else%>
<%loop results%>
<%field_1%>
<%field_2%>
<%endloop%>
<%endif%>

Cheers,
TheStone.


B.

Last edited by:

TheStone: Oct 18, 2001, 10:03 AM

Edit Log: