Ask a Question related to Dreamweaver AppDev, Design and Development.
-
singh83 #1
Menu Item problem with SQL query
Hi,
I have a search page which contains a form with 2 drop down menus (Application
and Operating System), which are used to search for records. The SQL query
returns records on a result page matching results that match Application AND
Operating System selected by the user. The SQL query works fine when the user
selects items from both the Application and Operating System menus.
However, the problem is when you only select one of the menus e.g .if you only
want to search using the Operating System menu>>> No results show up.
Currently, in each of the menus the first item is just blank and I think the
query is trying to search for records with blank values. Does anyone know a way
around this? How do you get the query to ignore menus the user does not select?
Your help is much appreciated. Thanks,
Sarb.
singh83 Guest
-
create new sub-menu item....how???
Hi, I have a site created with Dreamweaver templates. I can create a new page from a template but i want to make the page a sub-menu page. For... -
How get root item in menu bar
in all of my applications with a menu bar, the MenuEvent.CHANGE event fires every time you click on a menu item, be it a top level, a leaf level, or... -
Add new Item on Pop Up Menu
Hi, It is possible to add new items in contextual menu. You will need to use the function AVAppRegisterForContextMenuAddition. You can report... -
Problem in inserting Menu item
Sorry, no idea. -
Convert a query to a list, or find an item in a query
Hi All, I am using CFPOP to retrieve mail from a server, then delete each message after I retrieve it. What I want to do is to check that I don;t... -
Nathon Jones #2
Re: Menu Item problem with SQL query
Hi,
If the first item in a menu is blank, make sure its value is "%". That way,
it will search for ALL, if someone has selected from only one of the menus.
I think. :-)
Nath.
"singh83" <webforumsuser@macromedia.com> wrote in message
news:d3hvv7$mqv$1@forums.macromedia.com...> Hi,
>
> I have a search page which contains a form with 2 drop down menus
> (Application
> and Operating System), which are used to search for records. The SQL query
> returns records on a result page matching results that match Application
> AND
> Operating System selected by the user. The SQL query works fine when the
> user
> selects items from both the Application and Operating System menus.
>
> However, the problem is when you only select one of the menus e.g .if you
> only
> want to search using the Operating System menu>>> No results show up.
>
> Currently, in each of the menus the first item is just blank and I think
> the
> query is trying to search for records with blank values. Does anyone know
> a way
> around this? How do you get the query to ignore menus the user does not
> select?
>
> Your help is much appreciated. Thanks,
>
> Sarb.
>
Nathon Jones Guest
-
singh83 #3
Re: Menu Item problem with SQL query
Cheers Nath,
yes that's right the % is what is needed as the value.
Sarb.
singh83 Guest



Reply With Quote

