How to create registration form data Matrix

Hi all



I want to create a form in the style of the matrix. Example: < strong > emp < facilities > table I would like to display / enter the No. Dept < strong > vertically < facilities > and < strong > locations horizontally < facilities >.



Example is shown below:



< strong > < em > DEPT < /em > 10 20 30 40

< em > Loc < /em > < / strong >



NY < strong > < facilities > XX YY ZZ OO



< Strong > CA < facilities > AA BB CC DD



< Strong > < facilities > CC AA PP OO



Can the ease with which I I create? Is there a property to set the data as an array, so that I can create the data block so easily? Also all data must be updated in the table.

Create a datablock on a "query from clause' as

(
SELECT 1 LOCATION_ID,
       1 DEPT1,
       1 DEPT2,
       1 DEPT3,
       1 DEPT4,
       1 DEPT5
  FROM DUAL
)

Use as many dummy columns as you plan enter as a "horizontal" group, I guess just 5 to keep things simple.

In the PRE-QUERY-trigger of the block of rewrite the query 'from clause' as

DECLARE
  CURSOR crDept IS
    SELECT DEPARTMENT_ID
      FROM DEPARTMENTS
      ORDER BY DEPARTMENT_ID;
  vcQuery VARCHAR2(32000):='(SELECT LOCATION_ID,';
  i PLS_INTEGER:=0;
BEGIN
  FOR rec IN crDept LOOP
    i:=i+1;
    vcQuery:=vcQuery || ' SUM(CASE WHEN d.DEPARTMENT_ID='  || TO_CHAR(rec.DEPARTMENT_ID || ' THEN 1 ELSE 0 END) AS DEPT' || TO_CHAR(i) || ',';
  END LOOP;
  -- cut last comma
  vcQuery:=SUBSTR(vcQuery, 1, LENGTH(vcQuery)-1);
  vcQuery:=vcQuery || ' FROM departments d, employees e where d.department_id=e.department_id GROUP BY LOCATION_ID)';

  SET_BLOCK_PROPERTY('MYBLOCK', QUERY_DATASOURCE_NAME, vcQuery);
END;

Now, if you run a query on your block, the query will be rewritten to get the sum of each Department until column, each row contains the amounts for a place.

To run, you would have to deal with some additional tasks such as hiding / display of unused columns in the layout...

I hope this helps.

Tags: Oracle Development

Similar Questions

  • create some form data matrix bar codes

    I use Adobe Acrobat Pro DC and I created a bar code data matrix to help create form tools.

    How can I create a T1.png a barcode data matrix having a certain form and size of a PDF file?

    Hi bogdanb55773770,

    Right click on the bar code & select Properties, you get the dialog box to adjust the position. KB doc. using Acrobat help. PDF barcode form fields

    Kind regards
    Nicos

  • How to create a field date in my Contact form.

    How to create a field date in my Contact form. Ideally, it would offer a timetable for the user to choose from.

    Hello

    You cannot add a calendar field in Muse. However, if you decide to host your site on Business Catalyst, you can add the Date field to your form in the form Builder Web of BC and then add the form code to your Muse site using the feature to insert the HTML code.

    Kind regards

    Aish

  • How can I submit form data to an external url after a purchase?

    I use BC as part of a site that sells certificates of people will buy ecommerce.  There's a developer outside creating PDF certificates with their info and a custom code.  Anyone know how I can submit form data to an external url purchase?

    Two ways.

    To move cross-site restrictions:

    -In javascript dynamically create an iframe hidden, copy the data from the form in this iframe, set on the iframe onload event, submit the form (in the iframe), once the iframe loaded, submit the form BC as usual. Google there should be examples out there.

    -Using JSONP to do the same thing, but this will use GET so that your data will not be encrypted at all (maybe it's not a concern for you and you will need to check if the outside developer making the PDF can handle this response).

  • How to create a form with a submit in CC button animate using Actionscript 3

    How to create a form with a submit in CC button animate using Actionscript 3. The file will first be a SWF but will also have the flexibility to export as HTML5

    I've searched high and low for an example of code for this entry.

    Can someone help me please?

    Thank you

    You can use the same graphic assets of basis for two projects, but the coding will be different for everyone.  You must work on the project of a code at a time.

  • How to create a form to fill out?

    How to create a form to fill out?

    Hi llvi56,

    You may wish to consult the KB: http://helpx.adobe.com/acrobat/kb/create-fillable-pdf-forms-acrobat.html

  • How to create a form of free paths using script?

    Hello

    I want to create a form in which I add multiple points

    I try to use GraphicLine, but it adds no way point in this

    var myGraphicLine = myPage.graphicLines.add ();

    myGraphicLine.paths.item (0).pathPoints.item (0) .anchor = [72, 72];

    myGraphicLine.paths.item (0).pathPoints.item (1) .anchor = [72, 144];

    myGraphicLine.paths.add ();

    myGraphicLine.paths.item (1).pathPoints.item (0) .anchor = [72, 144];

    myGraphicLine.paths.item (1).pathPoints.item (1) .anchor = [90, 100];

    myGraphicLine.paths.add ();

    myGraphicLine.paths.item (1).pathPoints.item (0) .anchor = [90, 100];

    myGraphicLine.paths.item (1).pathPoints.item (1) .anchor = [110, 144];

    myGraphicLine.paths.add ();

    myGraphicLine.paths.item (1).pathPoints.item (0) .anchor = [110, 144];

    myGraphicLine.paths.item (1).pathPoints.item (1) .anchor = [144, 72];

    I want to create a W shape using script type.

    How to create a form of type free paths (like those drawn with pencil or pen tools) using js?


    Thank you

    This is because you create separate ways. Create just a first, and then add all the pathpoints.

    Do not forget that all first path you create comes with free first 2 points, so just move these in the position as shown above. Then add the new points to the same path, rather than create new ones (lines #4, #8, and #12 in my example).

  • How to create a form that requires thousands of boxes?

    Hello forum members

    I have Adobe Acrobat 8 Professional.  I searched the internet and forums for the last few hours and I can't seem to find information on how to create a form with multiple check boxes.  I don't want to give individual names to thousands of boxes.  I am hoping there is a simple solution to my problem.  Maybe don't even need to use checkboxes.

    Here it is...

    I'm a DJ and the wedding season is coming.  For every wedding that I do, I usually give the bride and groom a list of my songs and they choose a bunch of songs they would like to have at their reception.  In the past, I've just been sent word to Web page with songs and they would send me their selections in another document or directly in the email response.  I want to make this process easy for them (and me) in a pdf document where they can simply place a check mark next to the songs they want and then send it to me.  Premium (if possible) I would like to be able to export the songs they have selected in a separate document so that I don't have to go through the full pdf (with thousands and thousands of songs) when they send it to me.

    I would be forever grateful if someone help me or direct me to a link with additional information.

    Thanks in advance,

    Mike

    Probably the best thing to do is to have Acrobat automatically adds checkboxes for you. It would take to add a box character by using a font such as Wingdings next to each song title. When you select "forms > run form field recognition", it detects each box on every page and add the checkbox fields.

    You need to activate the reader of the document (Advanced > user rights enable in Adobe Reader) so that users can save the completed form.

    Once you receive it back, you can run a script to create a list of selected songs. Exactly how do you it depends on indications of the final form that you create.

  • How to create a form on our Web site

    How to create a registration form for our Web site?

    You use Muse or Dreamweaver?

  • How to create a form with 4 "column" in Eloqua?

    Hi and I thank you in advance for the answer finally. I need to create a form in eloqua with column 4. Is this possible? If it is possible how do you realize this?

    Thanks Pietro

    Pietro - if you view the present in our section Do It - you're more likely to get a faster response! Good luck. This is taken by the operations marketing on Linkedin group!

  • How to create a form that fills a page of review before being submitted?

    Anyone used Eloqua to create a form that fills a review page that the bidder has to address in order for the form to fill out?

    The sequence would be:

    1. landing page/form
    2. landing page with the data in the form of review
      • The second page with the form data will have to be approved before the presentation or the person could go back and change the data

    Thank you

    Jennifer Rash

    Hi Jennifer,.

    The way to do is to create a form with a field, mapping on a contact field you can set a value from us Let's say 1. and then on the second form, if the user access, he or she cannot present until whoever the approver is changes the value 0 (zero). Once the approval is made (assuming that anyone who needs to do this) the flag should be set to zero.

    Your form 2 form processing step can guide them in appropriate redirection, or javascript on the form page 2 can promot the user to wait for approval.

    Hope this helps... I would like to know if that's what you're looking for.

    Thank you

    Amit

  • How to create a master data element in unifying

    Hi all

    I want to create a new 'Dynamic Data Set'.

    But when the dynamic DataSet creation, I need to choose "Master Data Element".

    If I create the data element normal that he did not appear in the list to select.

    What is the problem? How can I make my data available across database dynamic element for selection?

    Hello 1001854,

    You can check that your data, you want to be a part of master data is a menu dropdown or radio data for the button element.

    I hope this helps.

  • How to create a form of relief with highlight on the edge, in 2015 of the Illustrator

    I work in 2015 of the Illustrator. How to create a shape (3d) raised with highlighted on the edge, like this:

    Coordinate shape.jpg

    It will work as a form, not a button, so there is no need of different States. I looked at a few tutorials to create buttons, and they seemed much more complicated that I think you need to create a form like this.

    -Stuart

    Experience 3D bevel & emboss, front view and Tall-round bevel. Adjust the lighting you want. Then add a light shade.

    Personally I have always found these bevel unsatisfactory effects, but you can produce similar results using carefully controlled mixtures

  • How to create a form that adds information to a list on the site of the muse?

    Hello

    I need to create a form for my site of muse. When the form is submitted the information needs to go to a table or database or the list on this site of muse.

    For example, a customer would go on my site and do not want to publish information on what they are looking for. They fill in their details and what they are after and click on submit. Such information would then appear in a list or a table containing information of other customers who submitted information.

    Is this possible? Is it possible to do in Affairs Cataylst? Any assistance or other means would be appreciated.

    CN

    Hello

    Yes it is possible with BC. You can either use the form of Muse or create a form in British Colombia, and then insert the form html code in the Page of Muse.

    Once the user submits the form, a notification would be triggered for you that would show the summary form as what the user has filled in the details.

    In CRM, submitting a form creates an action in respect of the user entity. You can access the case and see related information. In BC CRM, you can directly access all cases and use the filter options to filter with date etc. Alternatively, you can generate a report on the use of the form or the case where he would list details of the user and the field values that the user has submitted.

    Please note, published Muse site are web hosting sites, which does not include the feature of CRM/CMS in order to get the CRM, you must upgrade the site which is the plan of site different from those you get with your subscription to the CC.

    http://www.BusinessCatalyst.com/features/CRM-database

    http://helpx.Adobe.com/business-catalyst/SBO/customer-database.html

    http://helpx.Adobe.com/business-catalyst/SBO/building-customer-report.html

    In addition, I suggest try all features with a place to test first and then, after finalization, you can upgrade to a paid plan.

    Thank you

    Sanjit

  • How to create a form to fill out on the iPad?

    Hello

    I created a form of pdf report/time sheet daily to be completed by our superintendents of construction on their iPad.  I tried everything (including all free download - and some not so free apps from the app store) and still can not get my forms to work on iPads.  Most of them won't open even my file.  I have no problem buying an app, but I'd love to know that it will indeed work beforehand.

    My questions are:

    1. Can I create a form with Acrobat Pro, which can be filled in on an iPad?
    2. What iPad applications actually offer this feature?
    3. (If we make it that day) Are there restrictions on the complexity of the forms I create?

    Additional information: I sent the pdf form document to myself as an attachment.  On my desk, it opens like a normal PDF.  On my iPad it is labeled as "winmail.dat" and will not open.

    Thank you.

    Yes, it works very well with all types of form fields, fields of digital signature but are treated as electronic signatures, digital signatures not. You should get the app and try out it, it's a very nice app.

    You'll have to research more on the winmail.dat issue yourself, there is a lot of info out there. I think that the settings of the e-mail server (Exchange) can have an effect as well. Have you tried not to use Outlook to send e-mail?

Maybe you are looking for

  • I can't get rid of Yahoo as my homepage, suggestions?

    I put my Yahoo! home page and now I can't get rid of him. I tried to reset my homepage via Internet Options and Yahoo! keeps appearing as my home page. This is getting VERY frustrating. All I want is to have the base page home of Firefox first and th

  • HP 12 c Platinum: strange character to the left of '0.00' in HP 12 c Platinum display

    I just bought a HP 12 c Platinum and the screen has a funny character to the left of the display "0.00" in RPN format.  It looks like a period with a comma coming out of it and disappears when you press the CLX.  Anyone know what it is?

  • New Y410p - what drivers to install?

    Hello So I bought a new Y410p last week and the first thing I did was install all important Windows Update. Then I installed Windows 8.1. Now, I wonder about the necessary drivers. Should Lenovos Web site, what drivers I install? Everything that appl

  • Image and graphics on a single screen

    I acquire an image from a laser of a camera and find elliptical adjustment for the image. Now I have a separate Image out of the camera and a XY chart that gives the elliptical for my image. I would like to place my elliptical fit in the image. Since

  • Monitor does not work during the recovery after the night before

    A few weeks ago I started having a problem where, after falls of PC mode 'sleep' (or I put manually), recovery... the monitor fits 'no signal', while the PC itself looks and sounds like he turned on.  I am running Windows Vista Home Premium and have