Case statements without the need for Greater than less than

i have a problem where i have 6 different priorities. from high to low:
A-A
A-B
A-C
B-A
B-B
B-C
One field on the database (default) holds the default priorities. this value in this example is (A-B)
the problem is determinig wether the (actual) value, in this example (A-C) is an "UPGRADE" or a "DOWNGRADE" from the default.
the actual value may change, the default value never changes, so i need to determine if the actual value has increased in priority or decreased in priority?
i cant use the > or < functions obviously, what i have come up with so far is:
(case when actual = 'A-A' AND ((select default from table x) IN ( 'A-B','A-C','B-A','B-B','B-C','C-A','C-B','C-C')
when actual = 'A-B' AND ((select default from table x) IN('A-C''A-C','B-A','B-B','B-C','C-A','C-B','C-C') THEN 'UPGRADE' ELSE 'DOWNGRADE' END)
is this the best way to do a query like this ????

try adding control to form to let them select [ <, <=, >,>=] via a drop down and enter a value, then pass these items to a function that returns a sql select...
Report Region source would be function returning sql select..
Thank you,
Tony Miller
Webster, TX

Similar Messages

  • I have an ipod touch 4g. I want to use our internet hdtv as a monitor so others can see my screen in 40". Sony guy said that can do it wirelessly through the internet router instead of Hdmi without the need for an apple tv.Is this true and how do I do it?

    As I said above, I want to view my iPod screen on our new 40" Sony Internet full HD TV.
    I know that you can do this via HDMI but a Sony guy said that you should be able to do this wirelessly by going through the router. Is this true and can I do this without the need for the Apple TV?
    We are soon going to get the airport extreme, so will it work with that?

    1. Is it a smart TV?
    2. If so.... Is the TV connected to the Internet?
    3. If it is.... Check if your iPod and your TV share the same IP address (Wi-Fi network)
    4. If they do.... Then you should go to wherever your "Other Media" tab is.
    5. After that.... Search for you iPod. Because it is connected to the same network, it should recognize the device they same way AirPrint does.
    6. If you happen to see this fail, then try this method:
    1. Do you have a Bluetooth-enabled computer/laptop?
    2. If so.... Enable the bluetooth on the computer/laptop as well as your iPod.
    3. After that.... Your iPod should be actively searching and it should find the computer/laptop.
    4. If it did.... Transfer the file onto Windows/Mac (preferably Mac) and find the program to open the file.
    5. After doing so.... Connect your computer/laptop to the TV via HDMI Output Cable.
    6. Now it should work!

  • How can I type the symbol for greater than or equal to

    I wish to type the symbol for greater than or equal to in an equation but my keyboard does not have such a symbol

    Mathematical Operators - 2200-22FF
    :≥ &nbsp; &nbsp; &amp;#x2265; 8805 GREATER-THAN OR EQUAL TO
    :http://www.sql-und-xml.de/unicode-database/mathematical-operators.html
    If this is for HTML use &amp;ge; to create &ge;
    you can bring up CharMap (charmap.exe)
    go down 11 windows (of 10 rows each) and it is on bottom row
    You should be able to type as Alt+8805 on the Numeric keypad (not number row)
    or on laptop with NumLock off as Fn+Alt+8805
    but that is not working for me and I verified that hex(x2265) and decimal (8805)
    values are equivalent.

  • I have an ipad, and want into replace my laptop with it. Is there a way of running iTunes from my ipad to allow me to put music onto my old ipad classic without the need for a computer.

    Please help me on this issue. I have the latest full size ipad with retina display and want to replace my old hp laptop with it. I currently run an iPod classic and nano from the iTunes on it, but i want to run them off my ipad. Is this possible.

    The iPad is not a computer, it cannot replace one, and it cannot sync music or media to other devices.
    You need to keep a computer around if you want  to sync ther Classic and Nano. It may also be useful if you ever need to backup the iPad in case a restore is necessarry.

  • How can i use apple script to check every couples of seconds that the requested source in iTunes DJ setting is the one i did choose before please use the if statement without the need to open the window iTunes DJ setting

    ell application "iTunes"
      activate
              reveal playlist "iTunes DJ"
    end tell
    tell application "System Events" to tell front window of application process "iTunes"
              if value of pop up button 1 is not "1 Morning List" then
                        set focused of pop up button 1 to true
                        set value of pop up button 1 to "1 Morning list"
                        delay 0.3
                        keystroke " " & return
                        delay 0.5
              end if
              click button "Settings…"
              tell pop up button 3 to if value is not "1 Morning List" then
      click
                        delay 0.1
                        click menu item "1 Morning list" of menu 1
                        delay 0.1
              end if
      click button "OK"
    end tell

  • Ask to buy without the need to share kids' Apple ID-password

    I would like my kids the new  "Ask to buy" feature, but it requires them to fill in their iCloud-password right after they hit the Download/Install-button.
    I don't want to share their Apple-ID password because it also allows them to turn off stuff like Find my iPhone by mistake.
    Sharing an important password like that with feels not right.
    Any idea how to enable them to Ask a parent to buy an app via family sharing without the need for their Apple ID-password? Am I missing something? Or is it impossible?

    It may help to enable the menu bar with Ctrl+B if it is currently hidden.
    Use Store > Sign Out to sign out of the iTunes Store.
    Use Store > Sign In... to sign into the account you want to use.
    tt2

  • Why does the iTunes AppleID system refuse to work properly without the need to reset the password every time I open iTunes for use?

    Alright so here is the issue. When I first started using iTunes I created my AppleID. I locked it in to remember my password and authorize my computer so that I would NEVER HAVE TO ENTER IT AGAIN. So years pass, no problem. Then "ITUNES 11" come on everyone lets upgrade or you can't proper use the iTunes Store. Seriously it wouldn't let me access the store. Go Figure. So I upgrade simple right? No. It really isn't when iTunes 11 rolled out it was riddled with minor bugs that made the experience annoying so I did a rollback and live without the store for awhile.
    About a year passes and I try again this time upgrading iTunes through a COMPLETE fresh install, again I did what had done the first time I logged my AppleID and reauthorized my computer. Hurrah other than getting use to the new UI it ran perfectly. Yes Finally! Right? Again.... No. No more than 2 or 3 software updates later suddenly my password for my AppleID is incorrect I was like "Okay?" and re-entered it thinking the big update cleared my settings.
    Wrong Password please reset password to continue using the iTunes store.
    I was like okay maybe the user agreement change and we all need to reset passwords and re-accept the EUA. So I go through the process to create a new password successfully and reset my AppleID in iTunes with the new password. Come back a few weeks later it happens again this time I enter my new password and what do I get?
    Wrong Password please reset password to continue using the iTunes store.
    So I first do a repair install to my iTunes than reset my password this time NOT setting it to remember password. Great everything works fine again password even matched my Home CompID so that I could NEVER lose it well come a few days later I try to use the store and what happens?
    Wrong Password please reset password to continue using the iTunes store.
    to try to make my Long story a little shorter....
    This has been going on for the better part of 3 years I have almost completely dropped iTunes which has the better store library for Goggle Play Music who's store library isn't even a third the size iTunes has because their system works and my log-in is my e-mail. I repeatedly completely uninstalled iTunes and wiped it from my registry in hope a clean install would fix the problem but it never does.
    My OS is Vista Home Premium Edition 32-bit and no picking on my OS I been working to get a new computer but that isn't happening anytime soon so I work with what I got.

    Even removing the .xml files doesn't make a difference. Also, I now installed another update of iTunes, but still having the same problem, and this time there are no .xml files or preference files whatsoever in the Application Data and Local Settings\Application Data iTunes folders. It seems like for some reason iTunes is unable to create these. What should I do?

  • HT5002 I used Inkscape on Linux before moved to Mac. Now I am trying to install it using MacPorts, but libpixman has some problems that has been reported out there. Does any one know how to fix it without the need to use other way than MacPorts?

    I used Inkscape on Linux before moved to Mac. Now I am trying to install it
    using MacPorts, but libpixman has some problems that has been reported out there.
    Does any one know how to fix it without the need to use other way than MacPorts?

    Start with this comprehensive troubleshooting article:
    https://discussions.apple.com/docs/DOC-3521
    Look at this one for possible solutions:
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • How do I make a text box solid if the value in the field is greater than 0 and do this for all recor

    Hello,
    I have several text boxes on a document, and wish to make the boxes either solid or visible if the value in the field is greater than 0.
    I am using an excel file for the data, each cell with either 1 or 0 (true or false).
    Any help would be appreciated.
    Thanks,
    BJ

    Yes, I also sent an email regarding this problem.
    I am using XNET to write a custom device for PXI-8516 LIN card.
    I've attached a couple snippets showing where I've tracked the problem.
    The only error that I've seen comes from the XNET Wait vi in the timeout snippet.  I believe that error occurs because frame queued in the write snippet is never transmitted by the LIN card.
    Attachments:
    Timeout_Error_Snippet.png ‏22 KB
    XNET_Write_Snippet.png ‏24 KB

  • Hi, I need help. My iPad 2 won't start even if I already went through pressing the home and start buttons simultaneously. I also tried charging the battery for more than 30 minutes. Still won't power on. what should I do?

    My iPad 2 won't start even if I already went through pressing the home and start buttons simultaneously. I also tried charging the batteries for more than 30 minutes (done this procedure twice) but it won't still power on. What should I do next? Could it be a hardware issue then?

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • How to install Hotfix without the need to administrative rights

    Hello All,
    I have Hotfix in .msu format and want to install on clients without the need to admin privileges and silently using SCCM. 
    For that i have made the batch file to make it silent install, and created the package with batch file, but it prompts the users to enter the credentials. How can i do that ?? Without intervene of administrator and silently.
    Second, there is option while configuring to "RUN as User" or "RUN with Administrator".
    How do you define this??? Specially Run with Administrator?? Which admin account it will use and where it is mentioned in configuration or package.
    Thanks
    REGARDS DANISH DANIE

    More info:
    SCCM 2012 – Allow End User to Run Application As Administrator
    http://blog.thesysadmins.co.uk/sccm-2012-allow-end-user-to-run-application-as-administrator.html
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Can Mac OS 10.2 support my G3 Wallstreet without the need of a hitch?

    I have an old G3 Wallstreet, 250 MHz with full RAM. I want to upgrade its OS to Mac OSX. What is the highest Mac OSX support my G3 WS without the need of Xfacor, something like that? I installed Mac OS 10.2 a few times unsuccessfully. Its screen became gray and mosaic. I do not mind to have Mac OS 9.2.2. before installing Mac OSX.
    I very much appreciate your advice.
    Robert

    Robert,
    Neither a dead main battery or dead PRAM battery will affect the stability of your powerbook. The PRAM battery (internal rechargeable backup battery) has a different purpose than the PRAM battery on a desktop machine. This article describes how it performs:
    http://support.apple.com/kb/TA24801?viewlocale=en_US
    Many powerbook owners will continue to use their laptops with a dead PRAM battery either because they are unaware of its condition or they just don't want to spend the time and money to replace it. Unlike a desktop computer, a powerbook will run just fine without it. You only have a problem if the PRAM battery develops an internal short and then the powerbook will not start or exhibit any sign of activity or life.
    I would run two tests on your Wallstreet to see if you have a problem with RAM or the HD; both tests are run in 9.x.
    -Download 'Newer Gauge Pro 1.1' to check your RAM. After installing this utility, reboot to 9.x while pressing the shift key (release key when you see 'extensions off') to minimize the amount of RAM that is used by the OS. You might let it loop for an hour or so to make sure it gets a thorough test.
    http://www.macupdate.com/info.php/id/4512
    -Next, boot to your 9.x CD > open the Utilities folder on the CD > launch Drive Setup > select Test Disk from the dropdown menu. This is a non-destructive test and will take time since it reads/writes to each sector. If it finds a problem, you will want to reinitialize the HD using the option to zero all data, then run Test Disk again. Repeat one more time (zeroing) if the first attempt fails. If it still fails, replace the HD. I can't recall if Test Disk tests each partition separately or will test the whole HD...you will discover the answer to this. If the HD needs zeroing, zero the whole HD, then recreate the necessary partitions. You can fing all the necessary info for Drive Setup in Drive Setup Help once it is launched.

  • Better provisioning in Windows client: Remember templates for the Start Screen - like the need for categorization (taxonomy) in the Start Menu

    Better provisioning in Windows client: Remember templates for the Start Screen - like the need for categorization (taxonomy) in the Start Menu ...
    Like my previous suggestion about categories alike Linux to clean up the mess in the start menu:
    Please help new users to use the Start Screen in valuable way - demonstrate the value.
    You don't sell SharePoint with a completely unorded randomized site hierarchy - and without any templates.
    Not content - but abstract content like templates are everything when you need to learn to use ... i.e. a new product like the Start Screen. It gets you started right away. A like Word as well.
    Please bring order and form to the content. I.e. T E M P L A T E S parsing the layout of the tiles.
    Have context switching for virtualization working with the virtual desktop mode. So I only see those tiles that are in context with my actual workflow.
    Of course you would need a well-made taxonomy for apps - i.e. subclassed.

    Hello cor-el,
    Thanks for your help. The View > Zoom didn't work the first time, but I just tried it again on a couple of web pages and it works great!!
    Thanks again. Have a Great Day! You sure improved my attitude!
    You RocK!!!
    Best regards,
    Gael

  • Is it possible to make a calculated field only appear when the result is greater than 0?

    I am using Adobe Acrobat X Standard.  I have created a form that has caculated fields.  However, the fields always show the "$0.00" when it doesnt have anything to calculate.  I would only like a result to appear in this field when the result is greater than 0.  Is this possible?

    The use of currency and percentage signs always behave this way since the display format is a character string and not a plain number.
    You will have to use some custom JavaScript in the Custom JS calculation, the custom format format, or the validation script.
    There is not a lot of documentation for this, but Acrobat JavaScripting Guide Version 6 has some infromation about usin the AFNumber_Format built-in function.
    If your users are using version 8 or below, you will need to adjust the format of the field.

  • HT201358 Can ARD3 work with the Active Directory setup on a Windows machine and without the need of Open Directory

    We need the 'Golden Triangle' setup to work with ARD3 running on a Mac server with client Mac details retrieved from a Windows Active Directory. In this system, the ARD3 will be used to install packages from a Mac OS X server, where the client Mac list is gathered directly from a Windows Active Directory, which is already in place.
    So, please guide me whether Apple Remote Desktop 3 is capable of getting client machine details from an Active Directory without the need of re-creating the client Mac list in the Mac server running ARD3.
    If ARD3 can not be used in this case, do you recommend any other tools that can resolve our issue.
    Thank you in advance.
    Sudheesh.

    ARD cannot directly obtain client information from Active Directory, no. It may be possible to create a script that would get such information and be able to put it into ARD, but I wouldn't begin to know how to write such a script. You may also be able to bind your OS X Server to ARD and create groups there. This article is obsolete for 10.6 or later but may provide some clues as to how to proceed:
    http://support.apple.com/kb/TA24276
    There are a number of third-party systems that can manage Macs that may be able to draw information from AD, such as Casper, LANDesk, and others. Which if any would meet your needs depends on many factors including how many devices you need to manage, whether you're looking for a cross-platform tool, your budget, etc. This is a difficult issue to address in a forum like this since there are so many variables to be considered.
    Regards.

Maybe you are looking for

  • Macbook Pro 13" Late 2013 Lagging

    Greetings! Two days ago I bought my new Macbook Pro 13" which is a late 2012 retina (MD212DK/A). My problem is that i feels very slow and unstable and laggy. I've tried reverting back to the "Best for retina" display setting which seems to improve it

  • ITunes and Quicktime fail to launch

    basicaly i installed a codec pack onto my computer and now itunes or quicktime wont open , i get the usual "QuickTime Player has encountered a problem and needs to close. We are sorry for the inconvenience." or "Itunes Player has encountered a proble

  • Date mismatch when importing files in Library

    I am importing files in my Aperture Library using: 1/ Referenced Files, 2/ renaming my files with the following preset: <Custom Name>_Year of picture.Month of picture.Day of picture_Counter, and 3/ asking Aperture to copy the Master file into folder

  • Tecra a8-ez8412 Microsoft Bluetooth Notebook Mouse 5000

    i am trying to connect bluetooth notebook mouse 5000 to tecra a8 using a belkin bluetooth adapter. Eventhough it recognizes the mouse as a device cthe connection is not possible Any suggestions?

  • BW Upgradation Project from BW 3.5 t o BI 7.0

    Dear SDNS,                          We got an requirement to do an upgradation project for BW 3.5 to BI 7.0... This is the first time am involving for Upgradation..Am An BW Technical Consultant.. Can anyone one sugggest at scratch level wat are the r