Binary, Displays Yes or No

I have a binary entry in my database I am using it as 0 for
No and 1 for yes. How do I get it to display Yes and No on the
website instead of 0 & 1.
Thank You Again
Rab

Michael Fesser wrote:
> .oO(Rabastan99)
>
>> I have a binary entry in my database I am using it
as 0 for No and 1 for
>> yes. How do I get it to display Yes and No on the
website instead of 0
>> & 1.
>
> Some code please. What scripting language? Or do it in
SQL, but even
> then it would help to see the query.
>
> Micha
I like doing it in SQL
SELECT CASE binaryEntry WHEN 0 THEN 'No' WHEN 1 THEN 'Yes'
END AS
NewBinaryEntryName
Dooza

Similar Messages

  • Help needed in RTF form field to display yes or no based on xml value

    Hi,
    I have the data in xml as follows: <CP_ZERO_COST>2</CP_ZERO_COST>
    Now my requirement is, if CP_ZERO_COST is 2 then the column should display 'No' and if CP_ZERO_COST is 1 the column should display 'Yes'. Now this 'yes' or 'no' is not coming in xml tag. I need to do that in RTF form field.
    Could anyone please tell me how to do that?
    Please help.
    Thanks

    Try this:
    <?choose:?>
    <?when: CP_ZERO_COST = 2?><?'NO'?>
    <?end when?>
    <?when: CP_ZERO_COST = 1?><?'Yes'?>
    <?end when?>
    <?otherwise?><?CP_ZERO_COST?> --- You don't have to include this if the only possible values are 1 and 2.
    <?end otherwise?>
    <?end choose?>
    You can also use if then else logic. Ensure that you specify the correct path to get to CP_ZERO_COST
    Thanks!

  • How to group on column to display yes

    Hi All;
    In SSRS report have a column called Precheck and Buscheck as shown in the diagram
    If its a yes then display yes else no in one single column ( currently it gets display in 2 columns
    Also grouped it as column group for 'Precheck' column
    Any help on this much appreciated
    Thanks
    Pradnya07

    Pradnya it would be helpful if you shared the dataset as well
    and if thevalues in the dataset are yes or no then why are two different values shown for the same record. is there any other dependency column 
    Surender Singh Bhadauria
    My Blog

  • Not to display Yes/No/Cancel message window, while closing Oracle Apps Form

    Hello All,
    I have a requirement,where we need to avoid displaying Yes/No/Cancel message window when trying to save the changes in Oracle Applications Form.
    Please do let me know how to achive this.
    Thanks a lot in Advance.

    Hi Ramesh,
    Thanks for the Update.
    I have used the below code in KEY-EXIT
    CLEAR_FORM(NO_VALIDATE);
    EXIT_FORM;
    Also the code behind the button which submits the conc.program:
    DECLARE
    l_request_id NUMBER;
    vRESP_APPL_ID number;
    vRESP_ID number;
    vUSER_ID number;
    BEGIN
    --vRESP_APPL_ID := apps.FND_PROFILE.VALUE('RESP_APPL_ID');
    --vRESP_ID := apps.FND_PROFILE.VALUE('RESP_ID');
    --vUSER_ID := apps.FND_PROFILE.VALUE('USER_ID');
    --apps.FND_GLOBAL.APPS_INITIALIZE(vUSER_ID,vRESP_ID,vRESP_APPL_ID);
    apps.FND_GLOBAL.APPS_INITIALIZE(2340,20420,1);
    l_request_id := FND_REQUEST.SUBMIT_REQUEST ('XXAHS',
              'XXAHSRPDSR',
         null,
                        sysdate,
                        FALSE,
                        '|020|080|031|161|030|100|131|',
                        '11-JAN-10',
                        '|41|42|43|45|',
    insert into temp_amk values(15);
    commit;
    message('request id:'||l_request_id);
    exception
    when others then
    message(sqlerrm);
    end;
    This code worked fine, in case I ran from SQL Prompt.
    Please let me know what must be missing.
    Thanks.

  • Was just watching an HD movie and tried to resize the window midway through. Now I get the error "This movie cannot be played in HD on this display" Yes it can I just was. How do I fix this?

    Was just watching an HD movie and tried to resize the window midway through. Now I get the error "This movie cannot be played in HD on this display" Yes it can I just was. How do I fix this?

    I have the same problem on an original iPad.

  • Display Yes / No instead of True or false for radio buttons in SSRS 2008R2

    Hi All,
    I have one report with two radio buttons as parameters. In the report display I see True / false beside the radio buttons. Is there a way where I can display it as
    YES instead of True and NO for False beside radio buttons?
    Thanks,
    RH
    sql

    Hi sql9,
    According to your description, you want to show "Yes" and "No" in Boolean parameter instead of "True" and "False". Right?
    In Reporting Services, it doesn't has any property for the text of radio button in a Boolean parameter. So we can't modify the "True" and "False" into "Yes" and "No". For your requirement, a workaround is changing the type into drop down
    list and put the "Yes" and "No" into values.
    Reference:
    SSRS boolean
    parameter Yes and NO instead of True and False in prompt area
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Display Yes/No confirmation box before print

    hi,
    How can i create the following dialog box to collect user respone before printing a report.
    "Are you sure the print the report ? (YES/NO)"

    If you use the Preview mode, then the report gets displayed and the user can decide whether or not to print the report. If they want the report to print, they click on the print otherwise they just close the display. Then you don't need the prompt.

  • How can I display True/False in my dropdownlist as "Yes" and "No"?

    Hi All,
    I want to bind a dropdownlist to a boolean value (so it's either true or false).  I'm particularly interested in using two-way binding to when the user changes from "yes" to "no" the boolean value automatically changes from "true" to "false."  But, I want the user to see "yes" and "no" as the options, rather than "true" and "false".
    How can I display "yes" and "no" and still take advantage of binding?  Or can I not use binding in this circumstance?
      -Josh

    Solution 1:
    In order to display Yes/No for True/False, you may specify labelFunction for the dropdownList.
    In MXML:
    <s:DropDownList labelFunction="myLabelFunction" />
    In actionscript:
    private var arr:ArrayCollection = new ArrayCollection(["true","false"]);
                private function mylabelFunction(item:Object):String
                    if(item.toString() == "true")
                        return "yes";
                    else return "No";
    OR
    Solution2:
    may be u can try making an array collection like
    private var arr:ArrayCollection = new ArrayCollection([{label:"yes",value:"true"},{label:"no",value:"false"}]);
    and specify labelField for the dropdownList like
    <s:DropDownList labelField="label" dataProvider="{arr}" />

  • How to display binary output in numeric indicator

    Hai
        How to display binary output in a Numeric display.
    in my program i use numeric display for displaying numeric values in one case
    in the other case i want to display binary output in the same numeric display window as binary,
     i don't want to make seperate o/p display for binary o/p i want change the property of the Numeric display to binary display .
    is it possible to display Binary data in numeric indicator, please give me an idea to do this.
    thanks
    sk
    Attachments:
    DBL2BIN.vi ‏39 KB

    Alternatively, you can use the FormatString property node, and use %08b as format string : 08 means : pad the output with 0 to get a 8 digits wide result.
    See attachment.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    DBL2BIN[1].vi ‏21 KB

  • Saving image file as binary into database + pulling it out + displaying

    Hi guys, this is exactly I have to do, and have no ideal how to do.
    It will be greatly appreciated if you can offer help on this.
    I don't have a problem putting it into and pulling it out fo the database, it is really the jpg-> binary, and binary->display part that I need help on.
    Btw, I am currently using "draw Flatten PixMap.VI" to display a picture in labview, from a jpg file. Can I still use this VI to achieve what I intend to do?

    Have you tried this:
    Saving a binary file to a database with the Database Connectivity Toolset
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Display issues, system failures, lock ups- oh my!

    Hi all,
    For the last few months I've begun to experience significant issues with my Macbook Pro. I got it back in early 2006, so I believe it's one of the original models. Specs below:
    Model Name: MacBook Pro 15"
    Model Identifier: MacBookPro1,1
    Processor Name: Intel Core Duo
    Processor Speed: 1.83 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 2 MB
    Memory: 2 GB
    Bus Speed: 667 MHz
    Boot ROM Version: MBP11.0055.B08
    SMC Version (system): 1.2f10
    Graphics...
    ATI Radeon X1600:
    Chipset Model: ATY,RadeonX1600
    Type: Display
    Bus: PCIe
    PCIe Lane Width: x16
    VRAM (Total): 128 MB
    Vendor: ATI (0x1002)
    Device ID: 0x71c5
    Revision ID: 0x0000
    EFI Driver Version: 01.00.068
    Displays:
    BenQ E2200HD:
    Resolution: 1920 x 1080 @ 60 Hz
    Depth: 32-Bit Color
    Core Image: Hardware Accelerated
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    Rotation: Supported
    Current Software info:
    System Version: Mac OS X 10.5.7 (9J61)
    Kernel Version: Darwin 9.7.0
    Boot Volume: Macintosh HD
    Boot Mode: Normal
    So, to explain my issues... I have experienced the following:
    *Temporary lockups involving a "beach ball of death" spinning for maybe 5-10 seconds, then going back to normal.
    *Much longer lockups with the spinny ball that can only be solved by the computer's lid being shut, waiting for sleep, and then re-opening it.
    *Lockups you simply don't recover from- the screen getting "messy" with artefacts and scrambled images, bits of random colours, and no movement at all. These I have to restart the laptop physically to recover from.
    As time has gone on in the past few months, these are getting worse and worse. I thought it was overheating, but the temperatures seem okay and I have a laptop cooling pad for it. Then there's the completely random screen tearing and artefacts that seem to be happening; Safari, iTunes, Football Manager 2008, Firefox, Seashore... all these apps that I use on a consistent basis appear to discolour, tear, introduce horizontal lines across the screen, and just generally completely @#$% up the look of the desktop. What's going on there? :S It almost seems like it could be a graphics card issue, but that's why I'm asking here I suppose.
    The issues are getting more frequent, and it's a bit disappointing because, while I imagined that I would get a new laptop one day, I was under the impression macs had a good staying power and I could at least keep it working as a backup at home or give it to my brother. Now it appears that this one might have a terminal problem, be out of warranty, and thus most expensive to fix. Or is it?
    Anyone have an idea what I might be experiencing here?

    A failing hard drive can cause all sorts of problems by operating erratically. Your first priority should be to be sure you have a good backup of your data on an external drive, just in case the drive fails completely. Otherwise data recovery could be very expensive.
    You might try booting from your install disc to the Apple Hardware test. This will take the hard drive out of the equation, and you can see if the video problems persist, even when booted from a disc. Run the extended version of the Apple Hardware test and see if you get any error codes. If so, post back with them.
    While booted from the install disc, you can also navigate to Disk Utility from the menu bar, select your drive, and see if you can repair it. Since it is failing physically, repairing the software part will not actually fix it, but it might make it work better temporarily.
    Replacing your hard drive is worth doing if there are no other serious problems with your Mac. You can upgrade to a faster and bigger drive--up to 500 GB's if you like. However, you do want to be sure that you don't have any logic board problems first.
    One thing you could consider doing is getting an external drive, preferably FireWire, and installing the OS on it with your installation discs. Then you could boot from the external and see how the display behaves when booted from a new drive. That would give you a good idea of how your Mac would run if you replaced the drive.
    Normally I would suggest making a bootable clone of your internal drive using a cloning utility like Super Duper or Carbon Copy Cloner:
    http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html
    http://www.bombich.com/software/ccc.html
    Either one can be downloaded and run for free. If you want to free up the more useful features of Super Duper, you can register a copy for about US $28. CCC is donation ware.
    You could still use one of these to make a clone of your internal drive as a back up, but keep in mind there may be some corruption from the failing hard drive which would just get cloned. But these utilities are great for backing up a good drive.
    Good luck!

  • Cinema Display not detected

    I got my 20" Cinema Display back from repair today (backlight problem) and now I can't get my MacBook Pro to detect that it's attached. While it was at the repair center, I used a CRT as a second monitor. So today, I just closed the MBP (didn't shut it off, which I think is what cause the problem), disconnected the CRT, connected the ACD and opened the MPB back up. Completely black screen, with the little LED on all the time.
    So, troubleshooting:
    - The MBP still detects the CRT
    - ACD is detected by both a G4 and G5
    - A different 20" ACD is ALSO not detected by my MBP
    - Reset NVRAM and SMC
    - Booted MBP in safe mode
    - Booted MBP from startup CD
    - Tried various resolutions while the CRT was connected, thinking maybe it was stuck on one that's not compatible with the ACD
    - Moved and recreated the com.apple.windowserver.* files
    I'm running 10.4.9 and here's what the graphics/displays info says, WITH the Cinema Display connected:
    ATI Radeon X1600:
    Chipset Model: ATY,RadeonX1600
    Type: Display
    Bus: PCIe
    VRAM (Total): 256 MB
    Vendor: ATI (0x1002)
    Device ID: 0x71c5
    Revision ID: 0x0000
    ROM Revision: 113-xxxxxx-086
    EFI Driver Version: 01.00.086
    Displays:
    Color LCD:
    Display Type: LCD
    Resolution: 1680 x 1050
    Depth: 32-bit Color
    Built-In: Yes
    Core Image: Supported
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    Display:
    Status: No display connected
    Been messing with this for four hours, and I still have a blank display. Any other ideas? From one thread someone mentioned replacing the logic board fixed a similar problem.
    MacBook Pro   Mac OS X (10.4.9)  

    UPDATE:
    I just got back from my visit to a mac genius. Of course Murphy's law was in full effect! With my MBP connected to the cinema display in the Mac store, everything worked as it is supposed to.
    Well, I rush home thinking that maybe mine would now work - - no luck! He did suggest that I try connecting analog with the provided dvi-to-vga adapter. This suggestion DID work! BUT, I want my video digital! That is why even though I was happy with the iBook G4 that I bought last year, I wanted digital video + expanded desktop!
    I think I will make another reservation with the Mac Genius, but this time, bring my monitor. Will keep you posted...

  • Disconnecting from external display changes background, disconnect server shares, inactivates desktop icons.

    I have a user working on a MacBook Pro, Lion OS X 10.8.2, connected to an external display. When disconnecting from the external display the background picture changes, he can’t open documents saved to desktop, and the connection to the server shares is lost.  Rebooting does not resolve the issue while it is disconnected from the external display.  If he reconnects the MacBook back to the external monitor sometimes he has to reboot to get everything back to normal.  It almost seems like it is logging him into a different account or profile or something like that (please excuse my messy terminology as most of our users are still using PCs).  However if you look at what account is logged in, it is still the same account that he logged in with that morning.  The Mac is not authenticating to the network, just connecting to server shares.  Has anyone experienced this issue before and if so is there a fix for it?

    The Mac has a long history of assuming that ANY adapter still present means the display is still present -- you need to remove the adapter as well as the cable, if present.
    So my theory articulated above is that the disconnect is not registered correctly. This would mean that the second display is still seen as present. You could check this by invoking:
    System Preferences > Displays ...
    and looking for the Arrange pane (shown above) which is ONLY present when multiple displays are attached. More detailed information can be found in About this Mac  > ( More info ) Graphics & Displays ...
    ... specifically the NAME of each attached display is shown or an indication (no display connected):
    ATI Radeon HD 4870:
      Chipset Model:          ATI Radeon HD 4870
      Type:          GPU
      Bus:          PCIe
      Slot:          Slot-1
      PCIe Lane Width:          x16
      VRAM (Total):          512 MB
      Vendor:          ATI (0x1002)
      Device ID:          0x9440
      Revision ID:          0x0000
      ROM Revision:          113-B7710C-176
      EFI Driver Version:          01.00.318
      Displays:
    Cinema HD:
      Resolution:          2560 x 1600
      Pixel Depth:          32-Bit Color (ARGB8888)
      Display Serial Number:          CY8360UFXMP
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Rotation:          Supported
    Display Connector:
      Status:          No Display Connected

  • Nearly there but not quite - Please help with display issue

    Hi,
    I had an issue with my mac starting which I resolved by replacing the graphics card. The mac now starts without issue BUT!
    In display preferences there is only one display resolution, no detect display button and if I try to calibrate the sliders have no effect
    I have tried resetting PRAM and SMC with no effect and also tried a different monitor
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro3,1
      Processor Name:          Quad-Core Intel Xeon
      Processor Speed:          3 GHz
      Number Of Processors:          2
      Total Number Of Cores:          8
      L2 Cache (per processor):          12 MB
      Memory:          8 GB
      Bus Speed:          1.6 GHz
      Boot ROM Version:          MP31.006C.B05
      SMC Version (system):          1.25f4
      Serial Number (system):          CK******XYL
      Hardware UUID: *****
    ATI Radeon HD 5770: (Previously ATI Radeon HD 2600 XT)
      Chipset Model:          ATI Radeon HD 5770
      Type:          Display
      Bus:          PCIe
      Slot:          Slot-1
      PCIe Lane Width:          x16
      VRAM (Total):          1024 MB
      Vendor:          ATI (0x1002)
      Device ID:          0x68b8
      Revision ID:          0x0000
      ROM Revision:          113-C0160C-155
      EFI Driver Version:          01.00.436
      Displays:
    Display:
      Resolution:          1920 x 1200
      Depth:          32-Bit Color
      Core Image:          Software
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Quartz Extreme:          Not Supported
    Display Connector:
    Display Connector:
    <Edited By Host>

    Not everyone updates their hardware porfile but it should have been spotted that yours lists 10.5.8 which was a big clue and reason to ask and check what you are runnning.
    Apple sells 10.6.3. Unlike the prior two which did come out with 10.X.6 which would work and allow boot from DVD you may need the 10.6.8 on flash memory that comes with Lion except that is $69.
    We usually do but get tired now that we've been saying "ATI 5x70 needs 10.6.5 or later" when people upgraded their graphic card like you did.
    I wish that wasn't so. I don't know how ATI does it for Windows but they do have to retool their drivers when a new OS comes out but end up with a package that supports more than one OS version.

  • Trouble with 30" HD Cinema Display using Mini DisplayPort to DVI Adapter

    I bought a new MacBook Pro and I am having trouble getting the full resolution to work with my 30" HD Cinema Display (purchased in 2007 max resolution 2560 x 1600) using a Mini DisplayPort to DVI Adapter.
    According to the specs page, http://support.apple.com/kb/SP581 , the max resolution of the HD external display is supported. Unfortunately the max that I can set it to is: 1280 x 800
    Has anyone else had the same issue?
    If this isn't resolved I'm likely going to exchange my MacBook Pro for one that can support this display.

    So I went and bought the Mini DisplayPort To Dual-Link DVI Adapter as suggested and it seems to work great.
    Now the problem that I have is when I open up Apple's DVD player, the screen is blank but I can still hear audio.
    If I unplug the display, the movie will display properly. Rebooting with the display plugged in doesn't help either. I also deleted all the DVD players enc setting files so that they would re-initialize but no luck.
    Any idea what this problem might be??
    Chipset Model: NVIDIA GeForce GT 330M
    Type: GPU
    Bus: PCIe
    PCIe Lane Width: x16
    VRAM (Total): 512 MB
    Vendor: NVIDIA (0x10de)
    Device ID: 0x0a29
    Revision ID: 0x00a2
    ROM Revision: 3532
    gMux Version: 1.9.22
    Displays:
    Color LCD:
    Resolution: 1920 x 1200
    Pixel Depth: 32-Bit Color (ARGB8888)
    Mirror: Off
    Online: Yes
    Built-In: Yes
    Cinema HD:
    Resolution: 2560 x 1600
    Pixel Depth: 32-Bit Color (ARGB8888)
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Rotation: Supported
    Adapter Type: Mini DisplayPort To Dual-Link DVI Adapter
    Adapter Firmware Version: 1.03

Maybe you are looking for

  • Remote app on my iphone 5 will not connect to itunes

    The remote app stopped working on my iphone 5 and will not connect to itunes. Home sharing is on on itunes and adding new library on my remote iphone app results in veryfying passcode results in the following message on itunes 'the pascode you have e

  • Viewing multiple viseo tracks simultaneously

    Can this be done? Say, to view a video track 1 and video track 2 side by side in separate viewers,(or a viewer partitioned) Possibly even viewing maybe for tracks at once?

  • Pass parameter to a report link

    HI, This is what I am trying to do: I want to create a report with 2 parameters - FromDate and ToDate. The report link will be something like this - http://xyx.com/report1FromDate=1jan2012&ToDate=31jan2012 What I want is the users to change the date

  • Spool for Auto PO output job- download issue

    Hello All, This is the spool of a batchjob, where in each spool number there is one PO number , as can be seen in the screenshot below. This is the data in 1st line item of the spool. I want to download all the PO numbers, from all thee spool's. Is t

  • Windows 8 and Lightroom 4.3

    Lightroom 4.3 won't start up on my Windows 8, 32 bit machine.  Install went fine but when I click on the Lr icon the program appears to start up and I get the Lr in the task bar at the bottom and when I hover over the icon I get a thumbnail of the st