What to write query to get know if a checkbox is checked

hello,
I have created a checkbox with name Entertainment containing static values Movie,Play,music.
Now i have to write query to check which value of checkbox is checked ,means play or movie or music.
According to that i have to mail a particular link to a user.
I have seen in how to (checkbox help) but not getting it.
please anyone can help me out.

HI marc,
I think so u are not able to get my problem,i will explain it in detail.
I have a table USERINFO which has variables of type varchar2,these variable are used as a checkbox on page name 'ENTER INFORMATION',these checkbox have some static values,every time a user checks checkbox values it get stored in database,suppose there is a checkbox name sport with static values cricket,football,now if any user select cricket this value get stored in database with username ,mailid.
Now i have a page on this i want to give user facility to enter name of checkbox to create and its corresponding static values,and these checkbox should get display on page 'ENTER INFORMATION'and a variable of type varchar2() with checkbox name should get create in tableUSERINFO .
now can u suggest me how can i achieve this.

Similar Messages

  • Help to write query to get records from specified time TO specified time?

    I have a table which has large data and the table is updated every min,
    Suppose the Table comp(timeid date,sessions varchar2,sid varchar2)
    Here time needs to be checked
    So now i have to write a query which displays records that have been in the table
    for every 5 mins
    default timeframe is sysdate-5 then the lower and upper bound is multiple of 5 i.e
    Suppose now Time and sysdate: 12-sep-2007 1:22:00pm
    From sysdate: 12-sep-2007 1:15:01pm TO sysdate: 12-sep-2007 1:20:00pm
    So i need a query to get the records from 1:15:01pm to 1:20pm.
    Message was edited by:
    user594721

    Explanation is not clear.Please give sample data and expected o/p.
    If you need the data of previous five minutes, do like this...
    SQL> select id, to_char(time,'dd/mm/yyyy hh:mi:ss') time
      2  from test;
            ID TIME
             1 13/09/2007 10:29:55
             1 13/09/2007 10:29:22
             1 13/09/2007 10:20:28
    SQL> select id, to_char(time,'dd/mm/yyyy hh:mi:ss') time,
      2             to_char(sysdate,'dd/mm/yyyy hh:mi:ss') current_time
      3  from test
      4  where time between (sysdate - (5/24/60)) and sysdate;
            ID TIME                CURRENT_TIME
             1 13/09/2007 10:29:55 13/09/2007 10:32:45
             1 13/09/2007 10:29:22 13/09/2007 10:32:45                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to write query to get the following o/p

    Hi i've the following data and
    create table hirarchical(prnt_id number,child_id number)
    insert into hirarchical values(1,2)
    insert into hirarchical values(1,3)
    insert into hirarchical values(1,4)
    insert into hirarchical values(2,5)
    insert into hirarchical values(2,6)
    insert into hirarchical values(2,7)
    insert into hirarchical values(3,8)and
    If i give in where condition prnt_id=1 then
    the o/p should be 7 instead of 1 as it's having all connected childs...
    thanks in advance

    user10502250 wrote:
    If my reply is correct or helpful please mark it so.Begging for points is unprofessional and considered poor netiquette. It also makes a mockery of the already poor points system, by putting pressure on the original poster to award points for answers that may or may not be the most helpful or correct. If your answer is correct or helpful and meets the needs of the original poster then it is entirely up to them to award points as they see fit when they feel they have had sufficient answers or responses. Most of the people on the forum who have gained a lot of points have done so through providing good answers and without needing to ask for them. Please avoid such begging in future.

  • Query to get possible values for each segment

    Hi Gurus,
    Give the flex value set id, what is the query to get all possible values for each segment (just like what is shown in the accounting flex window)?
    Thank you,
    Beibei

    Hi Beibei,
    The table FND_FLEX_VALUES_VL can give you details of values available in the Value set i.e. 1 segment at a time.
    If you are looking for a concatenated view of Accounting Flexfield values, that would be available in GL_CODE_COMBINATIONS table.
    Regards,
    Ivruksha

  • What is a query to know what Privileges a user is having?

    what is a query to know what Privileges a user is having?
    for both DBA and System....
    Thanks in advance.

    This is a complicated question. Because roles have privileges. And those privileges can be roles. So the level of nesting can get quite complex quite quickly.
    So the best thing for you to do would be to check out Pete Finnegan's find_all_privs.sql script, which does the whole thing for you.
    Cheers, APC

  • I have a g4 running os10.4.11, i bought a epson workforce 1100 and tried to set it up but there is not a listing for it when i try to add it before installing the driver software from the supplied cd...anyone know what i can do to get it set up?

    i have a g4 running os10.4.11, i bought a epson workforce 1100 and tried to set it up but there is not a listing for it when i try to add it before installing the driver software from the supplied cd...anyone know what i can do to get it set up?

    Load the drivers and you should then be able to add it in Print Center.

  • I move folders from my internal hard drive twice to an external hard drive.  Now I believe Lr does not know how to find my photos.  What can I do to get this cleared up.

    I move folders from my internal hard drive twice to an external hard drive.  Now I believe Lr does not know how to find my photos.  What can I do to get this cleared up. 

    Jim has a very good suggestion. There are many factors at work here:
    1) How are you connecting the external drive to the computer?
    2) How big are files (329 x 1MB is not the same as 329 x 25MB)?
    3) What is your computer specification?
    4) Do you have any power saving settings on (in particular something that would send the computer/hard drives to sleep)?

  • I did hold the ALT cmand r key but i cant see the globe i dont know how i can fix my macbook pro late 2008 can any 1 plzzzz help me im very upsate but i live PAKISTAN in here i cant find os x lion disk i dont know what to do if i get the os x lion usb

    i did hold the ALT cmand r key but i cant see the globe i dont know how i can fix my macbook pro late 2008 can any 1 plzzzz help me im very upsate but i live PAKISTAN in here i cant find os x lion disk i dont know what to do if i get the os x lion usb

    That does not work on model year older then 2010 and really doesn't work on any older then late 2011 models.
    You will need a set of original system dvd disc thjat are always sypplied with every mac sold before Lion came out. Systems older then late release early 2011 models.
    If you don't have them you kcan order a replacement set from apple by calling them. Have the serial number of you mac handy.

  • TS3159 Some songs that I've bought on iTunes won't play on my iPhone 3GS even though they used to and they will still play on iTunes.  Anyone know what I can do to get these songs to play on my iPhone again?

    Some songs that I've bought on iTunes won't play on my iPhone 3GS even though they used to and they will still play on iTunes.  Anyone know what I can do to get these songs to play on my iPhone again?  Please help!

    No, I haven't figured it out.  And no one from Apple has contacted me to help.  Very frustrating.  Sure makes me want to not buy music on iTunes and just buy CD's.
    Do you have a 3GS too?  Maybe it's something with that phone??

  • Hi I need help. Does anyone knows joel brotonel? I bought an iPhone from him because he said he is working in apple warehouse. He tricked me. I just want to ask what should I do to get my money back?

    Hi I need help. Does anyone knows joel brotonel? I bought an iPhone from him because he said he is working in apple warehouse. He tricked me. I just want to ask what should I do to get my money back?

    thanks for advice but my problem is im far from him, i just met him online he has gained my trust. i dont know where can i complain. or to whom should i complain.

  • How to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input

    Hi all,
    I need your help how to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input.
    in my query info object is 0CALQUARTER and variable is ZFIS_QTR.
    in 0CALQUARTER fiscal quarter stored in 201301,201302,201303,201304 and 201401 format, for current fiscal quarter 201401 and (current fiscal quarter - 1 ) would be 201304.
    please replay ASAP to deliver the report to client.
    thanks in advance.
    -- Rakesh Nagpure

    I am Getting the same error for both the codes that i have written...
    Do i Need to write sth else in the code...
    Code:
    WHEN 'ZVLIVELEASES'.
      IF I_STEP = 2.
            L_DATE = SY-DATUM.
            SELECT * FROM "DSO_ACTIVE_TABLE"
                INTO TABLE ITAB_LL where "EXPIRY_DATE" > L_DATE.
            LOOP AT ITAB_LL INTO WA_LL.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            l_s_range-low = WA_LL-"EXPIRY_DATE".
           APPEND L_S_RANGE TO E_T_RANGE.
            ENDLOOP.
       ENDIF.
    Error: Error for variable in customer enhancement ZLIVELEASES

  • My itunes keeps telling me that i do not have the write access for my itunes media folder or a folder within it, what should i do to get permissions?

    my itunes program keeps telling me that i do not have the write access for my itunes media folder or a folder within it, what should i do to get permissions?

    i really need help because my itunes keeps saying "you don't have write access for your Itunes Media Folder or a folder within it. Change permissions (in the Finder) and then choose Store > Check For Available Downloads."

  • I just replaced the hard drive on my g4 PowerBook -I don't know where my original software is and apple won't touch it since its "vintage".  Does anyone know what my options are to get my computer working again?

    I just replaced the hard drive on my g4 PowerBook -I don't know where my original software is and apple won't touch it since its "vintage".  Does anyone know what my options are to get my computer working again?

    Hello and welcome to the support community
    You only option is to buy a copy of Mac OS X, either the retail disk or system disks.
    There are places you can by a copy of Mac OS X, like online vendors, Amazon or eBay.
    System disk are gray and come with more than one disk. Retail disk are black with a 'X' on them and often come as one DVD disk.
    Not sure what version your going to require as you haven't provided any specification and model details.
    I would safely assume being a G4, it would be happy to install Mac OS X 10.4 Tiger.
    If you could let us know the PowerBook you own, then I am sure we could advise you further.
    Best of luck

  • My Mac OS X 10.4.11 will not write DVDs and gets error code 0x80020022, what is wrong?

    My Mac OS X 10.4.11 will not write DVDs and gets error code 0x80020022, what is wrong?

    That code is not really useful since it just means it can't write DVD's (or probably CD's).  The only thing you can do is first to try a different brand of DVD's, higher quality.  You could also try burning at a slower speed.
    Based on the fact that you are using an OSX that's no long supported, there's probably not much you can do to correct this issue if it is software related.  You may also have a failing Super Drive, another consequence of an older Mac.

  • What would be the exact query to get above outout?

    Hi
    i hav table like:
    name phys chem math
    ram 80 73 71
    sham 75 73 85
    jadu 72 82 73
    got?
    answer would be like:
    ram phys 80
    sham math 85
    jadu chem 82
    what would be the exact query to get above outout?

    Table: HighestMarks
    Stname          Phy     math     Chem
    Aseet          50     64     90
    Rabi          80     96     34
    Pravat          57     95     90
    Sankar          80     60     45
    Query:
    select t1.stname, decode(t2.m_p,t1.phy,'phys',decode(t2.m_c,t1.chem,'chem','math')) subject
    ,decode(t2.m_p,t1.phy,phy,decode(t2.m_c,t1.chem,chem,math)) marks
    from HighestMARKS t1,
    select max(phy) m_p, max(chem) m_c, max(math) m_m from HighestMARKS t1
    ) t2
    where t1.phy=t2.m_p
    or t1.math = t2.m_m
    or t1.chem = t2.m_c
    Error:
    1.     if a single person secure highest marks in two subjects(Pravat secure highest mark in Math and Chem) then this query shows 2 subjects .It does not show the highest mark in Math
    Stname Subjects Marks
    Aseet     chem     90
    Rabi     phys     80
    Pravat     chem     90
    Sankar     phys     80
    But if 2 person secures same highest mark then this query returns results.

Maybe you are looking for

  • Fire wire ports?

    I have an external drive conected to my powerbook G4 via firewire 400 but need to conect a deck also to capture video. problem is i only have 1 firewire 400 port, is htere a way of conecting the 2 divices together( without using the firewire 800) ?

  • Display logged in user record from MySql DB

    I am currently building my business website. I have already set up my MySQL database, added a table for clients with ID, Username, Password, SessionID, and File. I have connected the db in dreamweaver. I have built the log in page for users to log in

  • Pb PDF Filename : AcroPDF.dll + VB6

    We use the component AcroPDF.dll (Adobe Acrobat 7.0 Browser Control type library 1.0) in a VB6 program. We use the method LoadFile to display PDF file in form. This method works fine. The problem is after some LoadFile request, when we display the pr

  • Duplicates, or in my case triplicates in notification center

    Each time I receive an individual email I receive 3 alert boxes at once. Does anyone know how to change this so only 1 notification appears?

  • HT1766 Syncing error message (1140)

    Trying to sync/backup iPhone 5 to iTunes on iMac, I get an error message "an unexpected error occured (1140)"