How to make a simple survey

Hi all
I would like to make a simple survey in a page of an application, he concludes only two choices: Yes, and no.when, I press the button submit, I can see the percentage displayed as pie chart.how to do this? any suggestions?

Hello

Step 1: Create the structure of the Table and relax for the sequence. I have not give code to create the sequence. That you can create with the name DEMO_POLL_SEQ

CREATE TABLE 'DEMO_POLL '.
(NUMBER OF 'ID_PK',
NUMBER OF 'RESULT ',.
ENABLE 'DEMO_POLL_PK' CONSTRAINT PRIMARY KEY ('ID_PK')
) ;

CREATE OR REPLACE TRIGGER "BI_DEMO_POLL".
Before Insert on 'DEMO_POLL '.
for each line
Start
If: NEW. "' ID_PK ' is null then
Select 'DEMO_POLL_SEQ'.nextval in: NEW. "' ID_PK ' from dual;
end if;
end;

/
ALTER TRIGGER 'BI_DEMO_POLL' ACTIVE;

Step 2:

Create a new apex shape type area with table column 'Result' and that his type Radiogroup and select create static lov
Make sure that, after you have created a region go to branch out and set to clear the cache on the same page. so it clears the value of page element.

Step 3:
Create another region with graph and paste after SQL query

SELECT THE NULL LINK,
REPLACE (REPLACE(RESULT,1,'YES'), 0, 'NO') LABEL.
COUNT (RESULT) VALUE
OF DEMO_POLL
RESULT GROUP
ORDER OF RESULT

Hope that this would be training for you.

And Yes, you can add me to your friend list.

Thank you
Stefan Bosamiya,
+ 91 76000 23053
[http://jbosamiya.blogspot.com | http://jbosamiya.blogspot.com]

Tags: Database

Similar Questions

  • How to make a simple slideshow DVD of a group of .jpg images?  No music, no fancy transition. iDVD > magic DVD comes close, but the quality is poor and I want the images in a specific order.  I also have iLIFE ' 09, which includes iPHOTO

    How to make a simple slideshow DVD of a group of .jpg images?  No music, no fancy transition. iDVD > magic DVD comes close, but the quality is poor and I want the images in a specific order.  I also have iLIFE ' 09, which includes iPHOTO

    1. put the image files you want in the slide show in an album and genre as you want. Follow the Apple document to prepare images for iDVD: iDVD ' 09 (7.x): preparing images for iDVD slideshows

    2 - Launch iDVD and select an older theme, not animated.  You can change the background of the theme by dragging the image file of your choice, black or other, in the display pane for the menu.

    3 - Click on the button '+' and add a slideshow from the menu.

    4. double click on the sideshow button to enter the mode of construction of the slide show.

    5. in the media pane click the Photos button.

    6 - click on iPhoto and find the album you created with selected images.

    7. Select all images in the album and drag to the left in the slide show window.

    8 - Select the transition for the slideshow and the time for each slide on screen

    9 - follow this workflow to help ensure the best DVD video qualty:

    Once the project you want it save it as an image disk via the menu file → save as Disk Image . It will separate from the process of encoding of the burning process.

    To check coding mount the disk image, launch a DVD player and read it.  If it plays OK with DVD, encoding is good.

    Burn burn to disc with utility disk or toasts to the slowest speed (2 x - 4 x) in order to ensure the best quality.  Always use higher quality media: Verbatim, Maxell or Taiyo Yuden DVD-R are recommended in these forums.

  • How to make a simple video with my computer ' s web cam?

    I recently (10 minutes ago) asked a simple question on how to make a video.  For five of the most wonderful years of my life, I have designed critical systems of path for launch Pads 39A & B, the vehicle Assembly building and the robot that went out the candle to the pad.  On paper, a critical path system explained how the engineer, design and build a structure.  In this case, it was activities separate from about 3400 and when, how and how long these activities were to each other.  At the time where the Commander.  I worked and which had been granted to these contracts, had developed the method of the path critical following the guidance system of the Polaris Missile, which was incredibly hard to get a handle.  At the time where manned Apollo lunar Mission has been in place, I was one of only ten people in the world, who knew the process.  We needed honest, some answers to our questions or it would take years to accomplish what Stephen Hawking characterized as "the unique accomplishment largest in human history" you gave me answers to my questions by these 'engineers' for Microsoft on the use of a webcam and had implemented them, would not be there was a second launch of Apollo because the first three astronauts would be dead.  How to make a simple video with my computer ' s web cam?     Al wood

    http://www.WikiHow.com/use-webcam-on-Windows-Movie-Maker

    Movie Maker: http://windows.microsoft.com/en-us/windows-live/movie-maker

    Not tested.  Instructions could be for the old version of Movie Maker, but they probably give you the basics.

    (It's a way of many - that the answer does not depend on your OS, but on the software you use to interface with your webcam.  Camtasia?  Skype?  etc and so on...)

    In addition, to find this information is quite simple.  Once I decided on what software to go with in my response to you (I chose Windows Movie Maker 12 because it's easy to get, free, Microsoft, similar to products that were previously found with Windows) I did a simple search on Google:

    use Windows Movie Maker 12 with webcam

    https://www.Google.com/#q=Use+Windows+Movie+Maker+12+with+webcam

    or more demonstratively:

    http://lmgtfy.com/?q=Use+Windows+Movie+Maker+12+with+webcam

    The first hit seems to be a video market even helps you to download and install the Windows Movie Maker 12 application...

  • How to make a simple screen of Windows 8

    How do you make a simple screen capture in Windows 8?

    E-mail address is removed from the privacy *.

    Hello

    Check this box:

    Use capture tool to capture screenshots
    http://Windows.Microsoft.com/en-us/Windows-8/Use-Snipping-Tool-capture-screen-shots

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to make 'Calibration Simple' with 'Vision calibration Training' or "Wizard of Vision"

    Hello master:

    I want to do 'Calibration Simple' with 'Vision calibration Training' or "Assistant vision", I want a model calibrated using this way of exit? How to do?

    I had already read "Simplate Calibration.vi".

    Thank you.

    https://forums.NI.com/T5/machine-vision/coordinate-transform-robot/TD-p/3287696/page/3

  • Can someone tell me how to make some simple changes to touch Adobe?

    I just got Adobe touch and have problems to do some simple tasks to my images.

    Normally, I use Adobe elements on my desk. I want to just do the following with touch:

    resize images

    Crop images

    Brighten images

    Save to JPEG

    These tasks are very easy when using the elements, but seem difficult using the key. During the clearing-up of an image in the elements it is very easy and doesn't invole sex.

    im hoping someone can tell me the simplest and easiest way to do these things with key

    Thank you

    scooters1958

    Entire image resizing:

    & (ampersand or "More" icon; 2nd icon from the upper right) > Image size. Set the width and height in pixels. (Use an online calculator to find inches if you are not familiar with conversions.)

    Resizing just one layer:

    Select and target a layer > press the resize icon (looks like a cross with arrows at the ends; 5th icon from the upper right)

    Crop of image:

    & > Crop. Use the "link" icon (it looks like two links in the chain) to limit the proportions. You will notice that it works in the same way about how to resize a layer works.

    Clarify:

    Adjustment icon (looks like a couple of horizontal cursors; 4th starting at the top right icon) > choose from a host of effects here, which can lead to the same result: levels, brightness/contrast or curves.

    Save as JPEG:

    Back in the user interface for project selection (or UI) > tap the export (with an arrow pointing to a square outside; 5th icon from the upper right) > choose how you want to export: download creative cloud, save to Gallery (Android) or Camera Roll (iOS), or share > select your projects. (Don't forget to browse their first > tap OK.) They should then be exported as a result.

  • How to make a (simple) video editing software flash

    Hello

    I am currently using Adobe Flash cs3 version 9.0.0.494 running in windows 8, but have, if necessary, Adobe Flash cs6.

    I would like, in this new project, I work include a feature which, according to the actions of the user (just the keys), creates a video from short videos of pre - which does not exist, each button corresponding to the small clips which will put toghether by order of pressing.

    After that, the created video should be able to be exported.

    still, there is no such thing as simple video creation that you described would be dynamic.

    You can use a library of 3rd party like as3gif of t. imbert to make an animated gif.

  • How to make this simple sql run faster?

    Here is a very simple sql, but it takes too long to finish as an hour or more, and the problem is in the table. It's a huge table with 17660025 lines.
    In addition, upd_dt is indexed.
    select distinct (dstn_type) from ims_ets_prty_msge where ims_ets_prty_msge.upd_dt > sysdate - 30;
    Execution plan seems to be no problem: (is 9i, and I do not think that it would not perform better if the UNIQUE HASH is used instead of SORT UNIQUE)
    -----------------------------------------------------------------------------------------
    | Id  | Operation                    |  Name                    | Rows  | Bytes | Cost  |
    -----------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT             |                          |     6 |    78 |  1409 |
    |   1 |  SORT UNIQUE                 |                          |     6 |    78 |  1409 |
    |   2 |   TABLE ACCESS BY INDEX ROWID| IMS_ETS_PRTY_MSGE        |   856K|    10M|    10 |
    |*  3 |    INDEX RANGE SCAN          | IMS_ETS_PRTY_MSGE_INDX5  |   154K|       |     2 |
    -----------------------------------------------------------------------------------------
     
    Predicate Information (identified by operation id):
    ---------------------------------------------------
     
       3 - access("IMS_ETS_PRTY_MSGE"."UPD_DT">SYSDATE@!-30)
     
    Note: cpu costing is off
    Here is some info on the table
    NUM_ROWS BLOCKS  EMPTY_BLOCKS AVG_SPACE CHAIN_CNT AVG_ROW_LEN
    17129540      455259     622           502             455278      188
    The thing is that we must make it run faster.
    And all I can think is to create a bitmap on dstn_type (low cardinality) index and partition the table using upd_dt;

    So my question would be is anyway that we can get a better response time without having to make that kind of change?
    Or is this kind of change really help?

    Any thoughts would be appreciated!

    Thank you

    Have you thought about putting an index on (upd_dt, dstn_type)?

    With the query you posted, and this index, it should be possible to use a full scan of the index, no visit to the table at all.

    A bitmap index would not be a good idea, if it is an OLTP application / table.

  • Windows 8 is ridiculous! How to make a simple solitaire game?

    I'm putting in a lonely place for my mother (92 years) to play on his new computer with windows 8. I am familiar with the apps that I have an ipad and iphone and.  I can't get a simple downloaded solitaire game.  I really think that Windows 8 has made using a PC more difficult.  I am a college graduate and a retired teacher and have used computers for over 15 years.  I even tried to sign Xbox to see if that would help.  What can I do?

    Microsoft Solitaire Collection

  • How to make a simple function on the liberation of a mouse AS3.0?

    so its been a while that I was Flash Professional and I'll have to re - educate myself in almost everything. what I want to do is to create a simple function of the liberation of a mouse click vs what is the command to access freedom I know the click is MouseEvent.CLICK, function, but what is the command to access release on?

    You probably want to use MouseEvent.MOUSE_UP (which is what happens to define the end of a CLICK event)

  • How to make the simple query for this scenario... ?

    Hello:

    Dummy table provided for simplicity.

    It's my database table (Table_A)

    Date1 | Plane1 | Category | Duration | Fees
    01/01/2011 | A | Gold | 5. 2
    01/01/2011 | C | Money | 4. 11
    01/01/2011 | B | Gold | 6. 2
    01/01/2011 | D | Gold | 2. 4
    01/01/2011 | B | Gold | 3. 5
    01/01/2011 | A | Money | 4. 8
    01/01/2011 | B | Gold | 1. 3

    I need to write a query to get the result below:

    Date1 | Plane1 | Sum_Duration | Sum_Charge | Sum_Gold_Duration | Sum_Gold_Charge | Sum_Silver_Duration | Sum_Silver_Charge
    01/01/2011 | A | 9. 10. 5. 2. 4. 8
    01/01/2011 | B | 10. 10. 10. 10. 0 | 0
    01/01/2011 | C | 4. 11. 0 | 0 | 4. 11
    01/01/2011 | D | 2. 4. 2. 4. 0 | 0

    This query will provide the 1st four columns:

    SELECT Date1,
    base1,
    Sum (Duration) Sum_Duration,
    Sum (load) Sum_Charge
    FROM TABLE_A
    GROUP BY date1, rarateplan

    But I need to know how to get the rest of the columns (i.e. Summary according to categories; from 5 to 8 columns)? Is this can be done in a single query without writing subqueries?

    Please let me know, (with code), the best way.

    Thank you-
    Tanvir

    Use like this:

    SELECT Date1,
    base1,
    Sum (Duration) Sum_Duration,
    Sum (load) Sum_Charge,
    SUM (decode(Category,'Gold',duration,0)) Sum_Gold_Duration,
    SUM (decode(Category,'Gold',charge,0)) Sum_Gold_charge,
    SUM (decode(Category,'Silver',duration,0)) Sum_Silver_Duration,
    SUM (decode(Category,'Silver',charge,0)) Sum_Silver_charge
    FROM TABLE_A
    GROUP BY date1, rarateplan

    Published by: SANT007 on August 11, 2011 11:04

  • How to make a simple connection in AS2

    I'm doing a connection that allows the user to create an account and be able to access at any time. As if I was going to facebook, I can connect. Something like that but I want in my swift and not as a php or what you call now.

    using the secure hash algorithm function is a little overkill for you app but it is so easy to use and fast there is no problem:

    function SHA256(s){
    
         var chrsz   = 8;     var hexcase = 0;
    
         function safe_add (x, y) {          var lsw = (x & 0xFFFF) + (y & 0xFFFF);          var msw = (x >> 16) + (y >> 16) + (lsw >> 16);          return (msw << 16) | (lsw & 0xFFFF);     }
    
         function S (X, n) { return ( X >>> n ) | (X << (32 - n)); }     function R (X, n) { return ( X >>> n ); }     function Ch(x, y, z) { return ((x & y) ^ ((~x) & z)); }     function Maj(x, y, z) { return ((x & y) ^ (x & z) ^ (y & z)); }     function Sigma0256(x) { return (S(x, 2) ^ S(x, 13) ^ S(x, 22)); }     function Sigma1256(x) { return (S(x, 6) ^ S(x, 11) ^ S(x, 25)); }     function Gamma0256(x) { return (S(x, 7) ^ S(x, 18) ^ R(x, 3)); }     function Gamma1256(x) { return (S(x, 17) ^ S(x, 19) ^ R(x, 10)); }
    
         function core_sha256 (m, l) {          var K = new Array(0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5, 0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5, 0xD807AA98, 0x12835B01, 0x243185BE, 0x550C7DC3, 0x72BE5D74, 0x80DEB1FE, 0x9BDC06A7, 0xC19BF174, 0xE49B69C1, 0xEFBE4786, 0xFC19DC6, 0x240CA1CC, 0x2DE92C6F, 0x4A7484AA, 0x5CB0A9DC, 0x76F988DA, 0x983E5152, 0xA831C66D, 0xB00327C8, 0xBF597FC7, 0xC6E00BF3, 0xD5A79147, 0x6CA6351, 0x14292967, 0x27B70A85, 0x2E1B2138, 0x4D2C6DFC, 0x53380D13, 0x650A7354, 0x766A0ABB, 0x81C2C92E, 0x92722C85, 0xA2BFE8A1, 0xA81A664B, 0xC24B8B70, 0xC76C51A3, 0xD192E819, 0xD6990624, 0xF40E3585, 0x106AA070, 0x19A4C116, 0x1E376C08, 0x2748774C, 0x34B0BCB5, 0x391C0CB3, 0x4ED8AA4A, 0x5B9CCA4F, 0x682E6FF3, 0x748F82EE, 0x78A5636F, 0x84C87814, 0x8CC70208, 0x90BEFFFA, 0xA4506CEB, 0xBEF9A3F7, 0xC67178F2);          var HASH = new Array(0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19);          var W = new Array(64);          var a, b, c, d, e, f, g, h, i, j;          var T1, T2;
    
              m[l >> 5] |= 0x80 << (24 - l % 32);          m[((l + 64 >> 9) << 4) + 15] = l;
    
              for ( var i = 0; i>5] |= (str.charCodeAt(i / chrsz) & mask) << (24 - i%32);          }          return bin;     }
    
         function Utf8Encode(string) {
    
              var utftext = "";
    
              for (var n = 0; n < string.length; n++) {
    
                   var c = string.charCodeAt(n);
    
                   if (c < 128) {                    utftext += String.fromCharCode(c);               }               else if((c > 127) && (c < 2048)) {                    utftext += String.fromCharCode((c >> 6) | 192);                    utftext += String.fromCharCode((c & 63) | 128);               }               else {                    utftext += String.fromCharCode((c >> 12) | 224);                    utftext += String.fromCharCode(((c >> 6) & 63) | 128);                    utftext += String.fromCharCode((c & 63) | 128);               }
    
              }
    
              return utftext;     }
    
         function binb2hex (binarray) {          var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef";          var str = "";          for(var i = 0; i < binarray.length * 4; i++) {               str += hex_tab.charAt((binarray[i>>2] >> ((3 - i%4)*8+4)) & 0xF) +               hex_tab.charAt((binarray[i>>2] >> ((3 - i%4)*8  )) & 0xF);          }          return str;     }
    
         s = Utf8Encode(s);     return binb2hex(core_sha256(str2binb(s), s.length * chrsz));
    
    }
    
  • How to make a navigation bar with buttons that are highlighted

    I have Dreamweaver MX 2004. I know how to make a simple navigation bar, but how is like Apple's site, with buttons that are highlighted on the appropriate page?

    "[email protected]" wrote in message
    News:gd04sb$5MC$1@forums. Macromedia.com...
    > I have Dreamweaver MX 2004. I know how to do a simple navigation bar, but how
    > is like Apple's site, with buttons that remain
    > highlighted on the appropriate page?

    http://divaHTML.com/products/divaGPS/current_menu_location.php

    --
    Thierry
    http://www.TJKDesign.com/go/?0 | Articles and tutorials

    http://divahtml.com/Products/scripts_dreamweaver_extensions.php | Extensions
    clean your markup
    http://www.fourlevel.com/ | Menus CSS, Gallery, tab panels, etc.
    --

  • Can I create an action to move the last page to the first?  I can only find how to manually drag the pages, and I need to make it simpler when there are a lot of pages.

    Can I create an action to move the last page to the first?  I can only find how to manually drag the pages, and I need to make it simpler when there are a lot of pages.

    Yes, you can do it using a script. This code should do the trick:

    this.movePage (this.numPages - 1, -1);

  • simple: how to make a multi-page rtf document in indesign. Help, please

    simple: how to make a multi-page rtf document in indesign. Please help! @

    File > place. Navigate to the file.

    With the loaded cursor, shift + click on the first page of your InDesign document.

Maybe you are looking for

  • find the phone number in the address book

    HelloSometimes I need to search for a phone number in my address book to verify its existence. Is this possible?Thank you

  • G5 Powerpc does not start with connected external USB

    Core PowerPC G5 2.3 duel starts when I have my usb external 500 GB on drive but it works perfectly well if I boot with it goes off and then start and turned on after my mac started in Leopard 10.5.8 external USB is a 500 MB TARGA I have a WD elements

  • Open apperture/see my photos

    This is the first time I've ever used this support.  It took me a long time to write this.  I use Aperture and can't open or view my photos. I called Apple International and the machine supposed to remember. I called several times and they said it ev

  • How can I install new windows on NB200-10z without a CD player?

    Hello I have a mini computer "Toshiba nb200-10z" and is no more startup.I would like to make a recovery, but it does not work. I know there's a shortcut like press 0 when the laptop starts.With this shortcut, you can start the recovery in order to re

  • X 230 Bluetooth adapter not detected on Windows 10

    I recently had the X 230 device I use put to level 10 Windows to a new facility (does not pass Lenovo restore feature). Since then, I noticed that I am no longer able to activate or to detect the bluetooth adapter after the upgrade. I tried to downlo