List/Menu "Show All" selection

Hi,
Wasn't quite sure how to title this one, and I'm positive
it's totally basic - Using DWMX, ASP and MS Access:
I have a simple accommodation search function with a few
list/menus all populated from a database such as Accommodation
Type, Star Rating, Location etc. I'd like each menu to have an
option that says "Any Star Rating" or "Any Location" so that if no
selection is made, it returns every record that matched the
previous selections. How do I do this??
I have tried adding a list item with values of 0, %, nothing
at all, can't work it out. The fact that I can't find any info on
the web tells me it's so basic it shouldn't be this hard.
Any help appreciated, thanks!!
If solution is different for PHP / MySQL would appreciate
tips for that aswell. Thankyou!!
Danny.

"elliot@carto" <[email protected]> wrote in
message
news:e50pf5$det$[email protected]..
> Hi,
> I have tried adding a list item with values of 0, %,
nothing at all, can't
> work it out. The fact that I can't find any info on the
web tells me it's
> so
> basic it shouldn't be this hard.
Depends on your data type. If text, then you can use LIKE
'%'. If numeric,
then you have to leave the condition out of your query
entirely, or use a
trick like WHERE StarRating =
IIF(isNull(starParam),StarRating,starParam).
This only works with formal parameters, though. DW parameters
use plain
text replacement, so that trick won't work.

Similar Messages

  • I am unable to see the images in Aperture trash, though there are a number indicated in the trash.  I have "show all" selected.  What settings am I missing?

    I am unable to see the images in Aperture trash, though there are a number indicated in the trash.  I have "show all" selected.  What settings am I missing?

    You may have an invisible filter on your trash.
    Try the "Double Caggiano", as described in Frank Caggiano's User tip:
    Images not appearing in browser, search filter is cleared
    Regards
    Léonie

  • Parameter list not showing all in BIP Report

    Hi Expert,
    I created a parameter list in BI Publisher, type is menu. I can only select on org, if I use "ALL",actually is the default, I want show all the orgs, but it won't show anything. How do I make it work?
    Thank you!

    Just type this in your where clause:
    where org =nvl(:p_org, org)This is because when you select "All" as parameter value the actual value being passed to the query is "null".
    Therefore when the where clause is evaluated the nvl function will return org making redundant the condition
    and thus will run your query for all org values :)
    It is explained here:
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T518230T518233.htm#4511631
    Hope this helps
    Cheers
    Jorge
    p.s. If this answers your question then please grant the points and close the thread

  • Remove "(More Links...)" from List View Webpart if the list view shows all items

    Hi, I currently have 5 links lists out of which 4 links lists have around 30 odd list items and the rest 1 have just 3 list items. All of this links list are added as ListViewWebPart on a wiki page. All these listview web parts are configured for "Summary
    Toolbar"  and show all the items within the list. 
    My question is, even if the listview web parts are configured to show "All Items" why is it that the ListViewWebPart shows "More Links" on the bottom of the web parts? Is there any OOB way to remove it. I don't want to customize using SPD nor i want to export
    web parts. 
    Thanks, Mayur Joshi

    This, right here, is an example of one of the most annoying things about Microsoft. On the one hand, Microsoft keeps pushing code-free solutions; they want to make it easier and easier for "Content Managers" to manage their own SharePoint sites, Excel spreadsheets,
    etc. etc. without having to bother developers. I am with them on this, to a point. However, they also want to HARD-CODE their options so you HAVE TO USE an OOTB solution to hide it! What is wrong with letting us change the settings of the Web Part, or the
    View, to turn off "More Links"? Why do I have to go to JQuery, or SharePoint Designer? WHY??? Give us an OOTB solution for things like this!
    UPDATE: Here is a fix, but it does require CSS. Add a Content Editor Web Part with this code. The (More Links...) and (More Announcements...) tags both use the id "onetidMoreAnn". You can then export the CEWB as a Web Part and drop it on every page. 
    Again, I would like an OOTB solution, but this will have to do.
    <style>
    #onetidMoreAnn
    DISPLAY: none
    </style>

  • Mail VIP list not showing "all VIPs" or useable in Smart mailboxes

    Hi there,
    I thought I'd give the Mail app a go again in Yosemite after abandoning it when it all went horribly wrong in Mavericks.
    I can't get the VIP list to work properly though. I have VIPs and I can open the VIP list to select an individual VIP (I have about 50) but I want to click on the main VIPs label to see mails from all VIPs. Specifically, I want to limit to the view to Inbox Only, so I can see all messages from any VIP that is currently in my inbox. The problem is, no mail shows when clicking on the main VIPs label, only when I click on individual VIP names. Also, if I create a Smart mailbox, using Sender is VIP, nothing works (no mails are found). I can still select multiple individual VIPs out of the list and that will show them all, but it's a pain and just doesn't seem like the right thing to do. in iOS, tapping on the VIP inbox, lists all mails from VIPs, why not on the mac too?
    Anyone else having the same problems?
    As a further clue. When you click on one mail box to another, the list of mails instantly changes to show the mails in the new mailbox. This is true if you click from an individual mailbox to the 'group' one. But, if I click from any mail box (that is showing mail) to the mail VIPs group, then the mails from the previous mailbox are still shown, ie the view doesn't re-fresh. I have to click on the main VIPs tab twice to get the mail list to refresh (which then refreshes to an empty list due to the problem above).
    This is driving me mad!

    I have worked this out for myself and fixed the problem.
    It's down to a bug in Mail (or possibly Spotlight). I had a VIP with an apostrophe in her email address which Mail wasn't handling properly and it was causing the search query to fail. Removing that contact from the VIP list fixed my issue.
    Technically, what's happening is that the code wasn't "escaping" this special character and that was causing a syntax error in the search query.

  • List View shows all tracks of CD, grid view is missing tracks

    I imported all my CDs into my iTunes library over the holidays. Over 40 GB of music. Now, I discover a flakey problem. On a CD, if I view via list view, the library shows 13 tracks. When switching to grid view and double-clicking on album, it shows tracks 1,2,4,6,9,12
    When I use windows explorer, the iTunes folder only shows tracks 1,2,4,6,9,12. Yet I can play all 13 tracks on PC and iPod. Where are the 'missing' tracks being stored and why don't they show in both views? This is happening on quite a lot of the CDs that were imported, but others are fine.

    This is most likely due to the content of the ID3 tags in the imported files. If a track features more than one artist, iTunes uses the first artist in the list to sort and organise the files. So one or more files imported from a CD might be stored in another artist's folder. iTunes plays the full album because it knows where all the tracks are (by virtue of the iTunes library database).
    To get around this problem, edit the information for all the tracks on an album so the the "Artist" tag has the main artist first in the list.

  • Artist list not showing all tracks by same (iOS 5.01)

    Hi
    For some reason, I cannot see all the tracks by a particular artist when I select the "Artist" view.
    When browsing through the list of songs, or albums, or playsists, the tracks appear, listed with the correct (exact) artist name.
    Similarly, I have a few compilations, which have the album artist listed as "various". This casues the tracks to be listed under artist "various" rather than the ACTUAL artist in the artist view under Music in the iPhone, though it and the above are listed correctly on iTunes on my mac.

    I don't know if you have resolved this with your iPhone/iPod Touch running iOS5, but I thought I would share a revelation for anyone who tried the "compilation" deselect process and didn't get the desired results...
    What I discovered was that somehow during the upgrade to iOS5, my iTunes decided to deselect the "Sync Music" tab under my device preferences in iTunes. So when I was synching my iPhone, it would transfer songs from my phone (where almost all of my purchases are made) to my iTunes, but I never noticed that new information from iTunes was getting back to my phone. After I selected the "Sync Music" tab, it warned me that my iPhone was paired to a different iTunes account (which is impossible since I only have one) and would erase and resync all of the data. But once I let it do that, all of the songs were found under the artist tab on the iPhone.
    Hope this helps!

  • "Open With" menu showing all applications twice...

    When I right-click an item in Finder and choose "Open With..." from the content menu, each application is listed twice in the menu (Preview, Preview, iPhoto, iPhoto etc). It's all very neat and tidy, and choosing either works, but it's pretty annoying. Screenshot attached:
    Setup: Brand-new Retina MacBook Pro, with from-the-factory install of Mountain Lion, latest updates. No migration of content from old OS X install (I manually copied my documents to leave behind 5 years of "cruft" from earlier OS X versions). I have NO "tweaky" utilities (launchers etc.), just a clean ML install with a bunch of pretty stable apps. The only thing I *do* have that might be contributing to this is Parallels with a WIndows XP virtual machine, but even here i've been very careful to keep all the "integration" modes switched off, I run the VM isolated in it's own window with no sharing of resources etc.
    Any ideas what's causing this? Anyone know of a fix or work-around? As I said, it's cosmetic, but it's annoying and considering I worked very hard to keep a clean, lean install I'm disappointed this kind of thing has happened already
    Thanks,
    Tim

    Rebuild LaunchServices Database
    Open the Terminal application in your Utilities folder.  At the prompt paste in the following command in its entirety:
    find /System/Library/Frameworks -type f -name "lsregister" -exec {} -kill -seed -r \;
    Press RETURN.  Wait for the Terminal prompt to return after which you can quit the Terminal.

  • Infopath Drop Down List not showing all items in a list

    I have an Infopath form where I have a vendor drop down and then I filter the product list based on the vendor. The problem is the drop down list is only filtering through the first 100 records. I added a second drop down with the model#'s and no filter and there is only 100 values showing. I checked the All Items view and it is set to display all records. Does anyone know how to fix this?

    Hi all,
    If I want a drop down list in InfoPath (data coming from a SharePoint list) to be in a particular order I query the SharePoint list via this method
    http://blogs.msdn.com/infopath/archive/2007/01/15/populating-form-data-from-sharepoint-list-views.aspx
    You can create a data connection to a particular view in SharePoint - make sure that view is sorted how you want it to be and the item limit is set to 9999.
    You do not need code for this method and it works in browser enabled forms.
    The people picker (which also works in browser enabled forms) http://metahat.blogspot.com/2007/05/people-picker-control-for-infopath-2007.html can help with those of you trying to get a list of users.
    Cheers.

  • In the history menu, 'show all history' only give the websites visted today, nothing for the days before were shown.

    Frustration.

    You can look at these prefs on the about:config page to verify how much history you keep.
    *http://kb.mozillazine.org/browser.history_expire_days (180) (also affects saved form data)
    *http://kb.mozillazine.org/browser.history_expire_days_min (90)
    * http://kb.mozillazine.org/about%3Aconfig
    If you use cleanup software like CCleaner then check the settings for the Firefox application.

  • List/menu data passing

    Im sure this is an easy one but it has me stumped. Here is
    the scenario:
    I have a couple list/menu boxes that allow mulitple
    selections. I process a few other items through a php script that
    sends an e-mail out to a specified e-mail address. Everything works
    as planned except I only get the last item selected in the
    list/menu boxes all the way through to the e-mail.
    I have tried adding the ' [ ] ' syntax as discussed in a few
    other articles but have not been able to get this to work.
    Can anyone offer any help? I would be more than glad to
    explain myself further or attach some code. Thanks in advance!
    Sean

    Ok I got the fix.
    I added the '[ ]' on the variable in the form, so the code
    looks like this:
    <select name="email[]" size="4" multiple id="email">
    <option value="1 Accounting">1
    Accounting</option>
    <option value="1 Adjustments">1
    Adjustments</option>
    </select>
    Then I went to the script that processes the form and change
    my variable definitions to this:
    $FTGemail = implode(',',$_POST['email']);

  • How can I track "Show All History"?

    Hi, How may we see a log of when someone has checked the browsing history on Firefox? In other words, is there a way to determine if someone has gone to the History menu, or has gone to the History menu > Show All History, or pressed Ctrl+Shift+H?

    I don't think Firefox keeps track of which menu items and dialogs have been accessed. Maybe there is an add-on that tracks such things. You could search here: https://addons.mozilla.org/

  • Bookmark and show all history functions not working

    After upgrading to FF20 the Bookmarks function button is not working. Star/bookmark this page/import from profiles list don't work. Can see previous bookmark lists in Profile but restore doesn't work. Also when opening history I get the short list but "show all history" brings up same blank library page every time.

    Hello valleyman100, maybe it is problem with the places.sqlite file that stores the bookmarks, see: [http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox Locked or damaged places.sqlite]
    see also: [https://support.mozilla.org/el/kb/cant-add-change-or-save-bookmarks?redirectlocale=en-US&redirectslug=Bookmarks+not+saved#w_places-database-file Can't add, change or save bookmarks - How to fix]
    thank you

  • Select list/menu to automatically show the numbers 0-99?

    Hi
    I have a select list/menu on my page and I would like the list to automatically show the numbers 0-99.
    Been searching the interwebs for answers/tutorials, but no luck.
    Any clues?
    Using CS5, asp
    Regards,
    Christian

    Thanks for everyone advise. I managed to get it working
    I sent the stockID on;y to the cart page, made a new variable based on the stockID the made a query and got all the information based on the new stockID variable
    <?php
    $newStockID = $XCart_StockID = ${$XCName}["contents"][0][$XCart__i];
    mysql_select_db($database_beau, $beau);
    $query_rsSize = "SELECT * FROM beauAW13_SizeList, beauAW13_Stock WHERE beauAW13_Stock.SizeID = beauAW13_SizeList.SizeID AND beauAW13_Stock.StockID = '$newStockID'";
    $rsSize = mysql_query($query_rsSize, $beau) or die(mysql_error());
    $row_rsSize = mysql_fetch_assoc($rsSize);
    $totalRows_rsSize = mysql_num_rows($rsSize);
                              ?>
    select list
    <option value="<?php echo $row_rsProduct['StockID']; ?>"><?php echo $row_rsProduct['Size']?></option>

  • Report -- filter with selection list -- show all values after select page

    Hello!
    I have the following problem:
    - I have a report
    - this report can be filtered with a selection-list
    - the selection list is based on dynamic LOV and has a null-value
    - I added the code of the report the following, to filter the report after choosing a value of the selection list:
    ... and (instr(type, decode(:P8_FILTER_type, '%null%',type,:P8_FILTER_type)) > 0)
    This works very well.
    But my problem is: When the user logs out and the next time, he logs in, the selection list shows " --- show all values --- " (my null-display-value) and the report is empty "no values found".
    ---> I want to show the first time, the page is selected ALL the values of the report. (this is now only possile if I press the button which belongs to the selection list)
    I hope, somebody understands my problem.
    Thank you so much,
    LISA

    Hello Lisa,
    The first time it's probably NULL.
    So what you can do in your where: (instr(type, decode(NVL(:P8_FILTER_type,'%null%'), '%null%',type,:P8_FILTER_type)) > 0)
    Off topic: I also wonder if that where clause can't be simpler? Do you rely need the instr?
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

Maybe you are looking for

  • Asus Transformer book T200TA

    Hello, I'm trying to put an Archlinux on the Asus Transformer book T200TA, and I will share here my progress. I will take note of a lot of things, when I manage to do something or when something does not work. And if you have any ideas to make someth

  • G4 Quicksilver Not Starting Up

    Help! I've been trying to start up my G4 to no avail. I've unplugged everything except the monitor and reset the PRAM battery button. When I hit the start button, the fans kick on and it sounds as though the hard drives are trying to do something but

  • Customer Consignment QI or Restricted

    Hi We're implementing the customer consignment solution but we've noticed that there is no blocked status for customer consignment stock.  The status we have to choose from are 'customer consignment quality inspecition' and customer consignment restr

  • Load Balance Plug-in VS Reserve Proxy Plug-in

    Hi, We are trying to setup the connectivity between sun java system web server 7.0 to glass fish 2.1. Which technology of Load Balance Plug-in VS Reserve Proxy Plug-in is better? What is the advantage one over another? Thanks!

  • FIM Load Balancing and SPN's - Strange behaviour

    I have a FIM setup in a domain I have mycorp.com and a domain in the same forest contractor.mycorp.com (fictional setup) I have 2 servers built in the contractors.mycorp.com domain Id1 Id2 Id1 has the Service and portal on wss3 in SharePoint farm mod