How do I select a range of values in MySQL using a drop down menu

Hi,
I have a database of picture frames that have a value of
frame width. I want to be able to select a range of values (i.e.
.50" to 1") instead of each and every value (i.e. .50", .56", .76",
etc.). I have a drop down menu (mnuWidth) with 5 ranges (see
attached code).
Each selection has a value from 1 to 5 indicating the range I
want to search. In my results page I have let DW set up a recordset
(see attached code)
Can anyone tell me how to get this to choose a range instead
of just the value entered by my menu?
Thanks in advance.
Tom

I have been growing fond of lookup tables. Your lookup table would have your numbers in one column and the values you want returned in the next.
Lookup table
item
Name
1
a
2
b
3
c
4
d
5
e
6
f
7
g
8
h
9
i
Input table
input
Name
1
a
B2 and copied down:
LOOKUP(A2,lookup::$A$2:$A$11,lookup::$B$2:$B$11)
Caution: Lookup will return the closest value so it it looks for "10" in this example it will return "i"
If you don't want to see the error messages from blank inputs, wrap Lookup in IFERROR.
hope this helps
q

Similar Messages

  • Sort values in numeric order in drop down menu

    Is there anyway to sort the values in numeric order-asending for the drop down menu of a particular field.
    Any ideas?
    G

    Add a property 'SORTED' and Boolean = true in BPE.
    G

  • Why does my bookmarks toolbar start hiding my bookmarks when i add more bookmarks to the toolbar? how do i make all of them show and not have a drop down menu?

    i had recently installed new firefox and instead of my 20 bookmarks showing up all in the 1 toolbar, only 10 are shown and the rest are hidden to the right with the ">>" button.
    how the heck do i change it back to what i previously had? this is driving crazy! i want them all to show and not have to click the ">>" button and go through the drop down menu

    Removes text associated with your bookmarks and folders and gives you placement controls over bookmarks extending the functionality and usability of the Bookmarks Toolbar. Your Bookmarks Toolbar is now very Roomy and Smart!
    *https://addons.mozilla.org/en-US/firefox/addon/smartest-bookmarks-bar

  • How do you use a drop down menu to populate other fields?

    I am creating a PDF that upon choosing from a list of People their address, phone, etc will automatically come in the remaining fields, or if a new person is choosen than you can add names address phone and it will save for future referrence ?
    Any help would be appreciated,
    THank you

    Thanks for your comment.
    Try doing this:
    Connect the form to a database and bind the fields in the form to the associated nodes in the data source so the data values automatically appear in the bound fields when a name is selected in the list.
    Add scripting to the list of names so the associated fields for address and phone number appear only when the user enters a new name and needs the other fields to enter new data.
    If that doesn't work, please provide more information about what you are trying to do. For example, here are a few questions to consider:
    Q. What object are you using for the list?
    Q. You say you want to be able to choose a person from a list of People, and their address, phone, etc automatically appears in the remaining fields address and phone number. What do you mean by etc. That is, exactly what objects are you planning to use for the other fields, and how many fields are there in total?
    Q. Is your form connected to a data base, which can supply the data values for the address and phone number fields.
    Q. What do you mean by 'a new person is chosen'. Normally the options on a list are pre-determined and added when you create the form. Do you want users to be able to add a new name to the list, and then enter that person's address and phone number in some adjacent fields?
    Have a look at these sections in the Help to gain a better understanding of what's involved:
     Working with Data Sources
    http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/000844.htmlhttp://livedocs.adobe.com/livecycle/8.2/acrobat_designer/000844.html 
    Buildling actions in forms
    http://help.adobe.com/en_US/livecycle/9.0/designerHelp/000109.html#1627696 
    Thanks,
    Drew

  • How do I add or change a bookmark icon in the Bookmark drop-down menu?

    The icon for a web site that I recently bookmarked is a blank white square. How do I add/change the icon for a bookmark?

    You can look at one of these extensions:
    *Favicon Picker 2: https://addons.mozilla.org/firefox/addon/3176
    *Favicon Picker 3: https://addons.mozilla.org/firefox/addon/7849
    See also:
    * CheckPlaces: https://addons.mozilla.org/en-US/firefox/addon/checkplaces/

  • How can I stop safari from showing my old entries in a drop down menu?

    I want to make it clear that I am not talking about the url bar. I am refering to suggestions within a webpage where stuff is entered (for example online homeowork for college students). I cannot seem to figure out how to stop safari from filling in my old entries.
    How can I get rid of this box?

    Have you checked the Safari Preferences > AutoFill settings?  The Other forms setting is described as follows:
    Let Safari save information you enter on webpage forms, then automatically fill in the saved information when you revisit the same webpages. To view or edit your saved information, click Edit.

  • I cant use the drop down menu's of photbucket anymore eversinds I installled firefox 7, how do I solve this ??

    I only use photobucket so I can post photo's on forums, the way to do this is by using the dropdown menu's below the photo's I have uploaded to photo bucket .
    I have installed firefox 7 as my browser today and now those menus dont work any more how do I solve this problem?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • I have three sets of alphabeticized bookmarks in my drop down menu after syncing. How can I get them all into one alphabetical list in my drop-down menu?

    I have the add-on "Auto Sort Bookmarks 2.3" already.
    Thanks for your time!!!!! :) :) :)

    Duh - I restarted Firefox, and voila! All bookmarks sorted.
    Thanks so much, :)

  • How can I sort Bookmarks by name A-Z in the bookmarks drop down menu?

    I have tried organize by name but it doesnt give an apply option and doesnt take effect

    Sorting Bookmarks in the Library window (Bookmarks > Organize Bookmarks) is for temporary display. The Bookmarks are not permanently sorted.
    To permanently sort, open the Bookmarks Sidebar (Ctrl+B opens or closes the Bookmarks Sidebar ---- Cmd+B in OSX), right-click (Cmd+click in OSX) the "Bookmarks Menu" folder and choose "Sort by Name". See: <br />
    *https://support.mozilla.com/en-US/kb/Sorting+bookmarks
    *http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    For automatic sorting of Bookmarks see the add-on SortPlaces:
    *Add-on: https://addons.mozilla.org/en-US/firefox/addon/9275
    *More info about SortPlaces: http://www.andyhalford.com/sortplaces/index.html
    <br />
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    * Shockwave Flash 10.1 r53
    * Next Generation Java Plug-in 1.6.0_18 for Mozilla browsers
    #Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from the link in article below
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download link and other information</u>''': https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US

  • How to find the size and resolution option in the aspect ratio drop down menu for the crop tool

    while looking through certain tutorials on the new crop system i came across many that referenced the above mentioned size and resolution option in the  access ratio drop down menu.  They all mention a dialog box which then appears which looks really useful, however my version doesnt have this option. any help would be appreciated.

    Trevor.Dennis wrote:
    John, are there already differences?  I thought 13.1 was mainly about retina display support, but I guess there would also be other fixes released while they were at it.
    Yes, definitely already differences. I sympathize with Photoshop instructors (online and offline).
    The headline change was Retina support but that was also made available to non-Cloud versions.
    Other Cloud-only changes in 13.1 are listed here
    http://helpx.adobe.com/photoshop/using/whats-new.html
    http://psd.tutsplus.com/articles/news/cs6_1/
    Non-Cloud CS6 users have been very vocal and disgruntled about some of these changes.

  • How do I put my tabs back up beside the orange firefox drop down menu?

    I have an Acer Mini. In order to optimize screen space, I closed most of the toolbars down, leaving the navigation bar and the tabs on top. They appeared in the blue space beside the orange "firefox" drop down menu. I turned away from the laptop to tend to my baby and when I turned back, my 2 yr old was mashing keys. I don't know what he did, but now I can't get the tabs back up there.

    Upper-right corner of Firefox, hit the center of the 3 buttons to Maximize the browser window.

  • How do I delete other email addresses from showing up in the drop down menu (on ie. Facebook) when I'm logging in?

    There are other people who have logged into facebook from my laptop so their emails still appear on the drop down menu when I type the first letter of the email. I would like to clear all the emails that appear. Please advise.
    Thank you.

    See:
    * http://kb.mozillazine.org/Deleting_autocomplete_entries

  • How do I delete Bluetooth devices that only show up from the drop down menu bar, and not in the Bluetooth preferences devices?

    I recently attempted, and failed, to pair/link/use my Playstation 3 Controller with my 13" Macbook Pro Retina (OS X Yosemite 10.10.1), and now I've been left with three unwanted 'devices' in my Bluetooth's menu bar, that don't show up in the Bluetooth's preferences devices, so I am unable to delete them from there.
    The devices in question are labelled as "00-00-00-00-68-2f", "00-00-00-00-68-7f", and "00-00-00-00-68-ef".
    I've read that resetting the PS3 Controller will remove these, but every attempt at that has failed as much as trying to use the Controller for gaming.
    Any help with this little issue will be much appreciated, as I've found it very annoying.
    Cheers

    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries

  • How do I set the border preferences when formatting cells in Numbers?  After I make my selections and close the drop down menu, nothing happens.

    How do I set border preferences when formatting cells in Numbers?  When I use the drop down menu under Inspector, and set the preferences I want, a blue line shows up in the appropriate cell or cells to which I want to apply a border.  When I close the menu, the blue line goes away and there is no border.

    Jerry,
    I'm sorry for the intrusion on this thread. I had only made a simple comment, and then others responded. It was not my intention, especially since the original question was marked as answered. I will direct responses to any comments I make in fture postings that deviate from the OP's question to a newly created topic if I need a response, if not, I will just add a statement at the end of my comments to please not respond.
    As to your diagram, it is the ability to select the non-contiguous cells, and then be able to simulataneously select a specific part of the border edge, and then be able to change them all at once that I was after. That is something that is not possible in Numbers. It seems that in your diagram the "before", was attained by selecting each cell one at a time, and changing its border edge, one at a time. Then, in the "after", selecting the non-contiguous cells and changing the "Stroke" settings for the lines was attained simultaneously since that is possible in Numbers.
    If I am correct in how you attained the results in your diagram, that wasn't really what I was trying to achieve, since if the option were not grayed out, it would only select the same border edge on all selected cells. If I am incorrect, then I would like to have your input.
    Once again, sorry for allowing my comment to develop as it did.
    In God's Harmony

  • Drop down menu in selection screen field

    Hi all,
    my requirement is
    In selection-screen  in one field I have to get drop down menu for 2 values.
    1.     Pvalue.
    2.     Hvalue.
    By default it should pickup Pvalue. 
    can any one guide me how to get the logic for that
    Regards
    cnu

    Just paste this code: u will get idea..
    report YH642_DROP_DOWN_BOX.
    TYPE-POOLS vrm.
    **"Table declarations...................................................
    *TABLES sscrfields.
    *"Table declarations...................................................
    PARAMETERS:
    p_connid(11) AS LISTBOX
    VISIBLE LENGTH 20 default 'FOREX-ANANTH'.
    p_value TYPE i MODIF ID QWR.
    *" Data declarations...................................................
    Work variables *
    DATA:
    w_char(20) TYPE c,
    w_flag TYPE i.
    INITIALIZATION. EVENT *
    INITIALIZATION.
    Internal table to hold delivery header data *
    DATA:
    t_table TYPE
    STANDARD TABLE
    OF vrm_value,
    vrm_values1 LIKE LINE OF t_table.
    vrm_values1-key = 'a'.
    vrm_values1-text = 'sap'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = '2'.
    vrm_values1-text = 'testing'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = '2'.
    vrm_values1-text = 'java'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = '4'.
    vrm_values1-text = '.net'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = '5'.
    vrm_values1-text = 'vc++'.
    APPEND vrm_values1 TO t_table.
    vrm_values1-key = 'che'.
    vrm_values1-text = 'chetta-ram'.
    APPEND vrm_values1 TO t_table.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = 'p_connid'
    values = t_table
    EXCEPTIONS
    ID_ILLEGAL_NAME = 1
    OTHERS = 2
    reward points if helpful,
    regards,
    seshu.

Maybe you are looking for

  • Add value entered in a text box to drop down menu options

    hi everyone i am making a pdf form for medical imaging report. i have a text box where the users enters a number, i want this entered number to appear within a drop down menu options thanks

  • Can i still use pay as you go plan on a smartphone prepaid plan?

    can i still use pay as you go plan on a smartphone prepaid plan?

  • Bugs in PSE-8

    Since Photoshop Album, I have been using PSE versions 3, 4,and 7 for quite some time. Recently I "upgraded" to 8 (probably mistakenly without searching this Fourm first). I am having a terrible experience, and now wonder if this is general or restric

  • Insufficient Media for Transition Sudden Problem Premiere CS3 Pro

    I recently switched systems, and continue to use CS3.  I was running on XP Pro 32 bit, and now have gotten a new machine running Win 7 Pro 64 Bit.  I do sports videography, so i usually use scene detect to capture as it creates a clip everytime the c

  • JDeveloper 1012 Corrupt ADF Project

    I have just come across a strange problem in using Jdeveloper 1012 to create an ADF project. The project is very simple at present, containing a class to represent a person (surname and age fields with appropriate getter and setter methods), a class