Using elements from input forms to use in reports...can it be done?? XML maybe?

Hi,
I am required to create a large number of input forms. For each form item, there is a heading to describe what the form item collects and also additional descriptive text, such as units of measurements etc.
I intend to create a report that will loop through and display this captured data on a per day basis. As there could be several forms of data multiplied over several days or weeks, this will return a lot of data
eg.
Day 1
          Data 1
          Data 2
          Data 3 etc...
Day 2
          Data 1
          Data 2
          Data 3 etc...
Day 3
          Data 1
          Data 2
          Data 3 etc...
etc........
In addition to the data captured in the database, i also need to furnish the returned data in the report with the headings and descriptive text that was on the forms so that the context of the data is apparent.
I have thought about how  i may acheive this
1. check each data item returned and append the appropriate text (could involve hundreds of checks against hundreds of data items....Yikes seems like a bad way to do this
2. maybe theres another way....reading around i wondered if XML could be used ( i have no experience with XML)
if the form was constructed with XML, and when the report runs, the returned data is able to be linked to the appropriate XML section and the descriptive text could be appended, rather than be subjected to numerous if...else statements....is this feasible with XML? how could i achieve this?
Sorry if this is unclear or not what XML is about and i'm way off...I'm learning this stuff as i go along so only have the internet and forums to bounce ideas off.
Thanks for reading this and if you've got any ideas about how i might achieve this with XML or not...i'm very open to suggestions
Cheers

Database is MySQL
SnakEyez02 wrote:
Ok, let's take this one step at a time.  First what database type is this going into?  Pointing you in the right direction for that is the best place to start.
>> MySQL
Next when you talk about returning the data to a report, are you using a reporting service or what are you trying to do here?
>> HTML/PHP report created with Dreamweaver with queries to recordset
Depending on what needs to be done, the type of database and the complexity of the data, I have found that simply entering the data into the database and running a query out of a Sharepoint server or even Excel will usually suffice unless there is something in play that we don't know about.
>>  Yes i can query the database and use those results, what i also want to use is the extraneous elements, such as headings, descriptive text e.g for an input field that captures temperature, you would have
Heading              Input element                     Descriptive text
Temperature:      [ Input temp in box here]     degree centigrade
I want to know if there is a way of reusing these from my forms into my report by using XML, rather that some onerous checking process to append the text to returned data.
Thanks for taking the time to consider this..

Similar Messages

  • Using methods from another Form C#

    Hello!
    I'm having some trouble using methods from one Form in another one. Here's the deal:
    This is a snippet from my 'main' form:
    public partial class PRINCIPAL : Form
    //some variables here
    Form2 Config = new Form2();
    Form3 Cadastro = new Form3();
    public PRINCIPAL()
    InitializeComponent();
    //code goes on and on
    //Here's the method I want to call on the other forms (Form2 and Form3)
    public void salva_banco()
    this.Validate();
    this.projetoBindingSource.EndEdit();
    this.modulosBindingSource.EndEdit();
    this.funcaoBindingSource.EndEdit();
    this.estadosBindingSource.EndEdit();
    this.tableAdapterManager.UpdateAll(this.database1DataSet);
    //And here is where I show Form3
    private void projetoDataGridView_CellDoubleClick_1(object sender, DataGridViewCellEventArgs e)
    Cadastro.ShowDialog();
    //And here is where I show Form2
    private void funcaoDataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
    Config.ShowDialog();
    }// And the code keeps on going}
    And this is a snippet from Form3:
    public partial class Form3 : Form
    public Form3()
    InitializeComponent();
    private void Form3_Load(object sender, EventArgs e)
    this.projetoTableAdapter.Fill(this.database1DataSet.Projeto);
    this.modulosTableAdapter.Fill(this.database1DataSet.Modulos);
    private void btnOK_Click(object sender, EventArgs e)
    if (projetoTextBox.Text == "")
    MessageBox.Show("some text here");
    else
    ////// HERE IS THE PLACE WHERE I WANT TO CALL THE METHOD! "salva_banco()"
    I've read lots of suggestions but none satisfied my condition.
    I appreciate any help.
    Thanks.

    You need to find the instance of the PRINCIPAL form to call the method on.  If you know there will always be exactly one open you can use:
    var principalForm = Application.OpenForms.OfType<PRINCIPAL>().Single();
    principalForm.salva_banco();
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Variables to a BI Query from input form and chart?

    Hi,
    I have a query (QUERY A) to which I connected an input form to define the variables. The output is a chart which tells us a status overview.
    Now I want to use the input form as well for entering the variables for QUERY B. This is no problem as the variables are passed through correctly. However, I also wanna filter on status by selecting the status in the chart. This does not work unfortunately.
    Situation:
    INPUT FORM ----------> QUERY A ---------------> CHART----------------------------
                                      |                                             |
                                      |                                             |                             
                                      |                                             |
                                      ----->QUERY B <--------------------------------
                                                  |
                                                  |
                                                  ----------->OUTPUT (VARIABLES FROM INPUT FORM AND CHART}
    Is this possible at all?
    Best regards,
    Jan Laros

    Hi Jan,
    I suspect that you are only partially passing the variables in two separate select events.  You should be able to meet your requirement with the following approach:
    1) Connect a select event from the output port of the form to the input/variable port of Query B.  In the input parameters reference both the relevant form fields AND the chart fields you want to filter by;
    2) Connect a select event from the output port of the chart to the input/variable port of Query B.  In the input parameters reference both the relevant form fields AND the chart fields you want to filter by;
    In other words, each select event link should reference the same fields from both the form and the chart.
    Regards,
    Mustafa.

  • I am using Elements 13 and photoshop editor has stopped working can you help

    I am using Elements 13 and photoshop editor has stopped working can you help

    hi Andaleeb sorry to hijack Stephanie's thread!
    I don't get any crash reports, it starts to open then just stops, nothing happens. ive tried getting in through the organiser but that doesn't work either.
    I think my laptop is Windows 8 (its a fairly new laptop, does that sound about right?)
    it was working Saturday I'm quite new to using it so no real workflow, just playing around with effects. ive only had it about a month
    Thanks
    Natalie

  • HT3728 I do not need another wireless network but want to use the airport express for printer access only.  Can this be done and how?

    I do not need another wireless network but want to use the airport express for printer access only.  Can this be done and how?

    You can configure the AirPort Expess to "Join a wireless network" and enable the Ethernet port so that Ethernet devices will be able to connect.
    In order to print from the iOS devices, you will need to have an application like Printopia installed on your Mac. The Mac must be active when you want to print.
    More details here: Printopia - AirPrint to Any Printer - Print from iPad - Print from iPhone ...
    There is a free trial available for Printopia, so make sure that it will work before you buy the AirPort Express.

  • HT1438 I would like to use my Ipad mini to connect to a project can this be done?

    I would like to use my ipad mini to connect to a projector can this be done?

    Depends on the projector.
    You can connect via a cable or wireless using an Apple TV.
    http://ipad.about.com/od/iPad_Guide/a/How-To-Connect-Your-Ipad-To-Your-Tv.htmhttp://ipad.about.com/od/iPad_Guide/a/How-To-Connect-Your-Ipad-To-Your-Tv.htm
    Connect an iPad to a Television or Projector
    http://www.everymac.com/systems/apple/ipad/ipad-faq/how-to-connect-ipad-to-tv-te levision-projector.htmlhttp://www.everymac.com/systems/apple/ipad/ipad-faq/how-to-connect-ipad-to-tv-te levision-projector.html
    Connecting iPad iPhone or iPod to TV or Projector
    http://www.disabled-world.com/assistivedevices/computer/ipad-tv.phphttp://www.disabled-world.com/assistivedevices/computer/ipad-tv.php
    iPad Accessories: Connections for a TV or Projector
    http://www.dummies.com/how-to/content/ipad-accessories-connections-for-a-tv-or-p rojector.htmlhttp://www.dummies.com/how-to/content/ipad-accessories-connections-for-a-tv-or-p rojector.html
    You may be interested in AirPlay on the Apple TV:
    http://www.apple.com/airplay/http://www.apple.com/airplay/
    http://www.apple.com/airplay/http://www.apple.com/airplay/
    Alternately, there are Apple Digital AV Adapters for hardwired connections:
    http://support.apple.com/kb/ht4108http://support.apple.com/kb/ht4108
    http://support.apple.com/kb/ht4108http://support.apple.com/kb/ht4108
     Cheers, Tom

  • I am trying to link to page in my document from the table of contents.  How can this be done?

    I am trying to link to page in my document from the table of contents.  How can this be done?

    The Table of Contents picks up selected named Styles in the text like Head 1, 2 etc.
    Have you actually applied the styles?
    Peter

  • Mapping a field from input help screen(Using POV) to user screen

    I have used the Function module 'DYNP_VALUES_UPDATE', to get the value from Description field in the search help.Now its throwing a runtime error mentioned below.
    Runtime errors: CALL_FUNCTION_CONFLICT_LENG
    Except. CX_SY_DYN_CALL_ILLEGAL_TYPE.
    Short text: Type conflict when calling a function module
    the function module was called incorrectly.
    Below is the code i implemented.
    ws_dynpfields-fieldname = wc_scrfld.
    ws_dynpfields-stepl = tc_1017-current_line.
    ws_dynpfields-fieldvalue = ws_hssr-text.
    APPEND ws_dynpfields TO wt_dynpfields.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    dyname = 'sapmzapp01'
    dynumb = '1008'
    TABLES
    dynpfields = wt_dynpfields
    EXCEPTIONS
    invalid_abapworkarea = 1
    invalid_dynprofield = 2
    invalid_dynproname = 3
    invalid_dynpronummer = 4
    invalid_request = 5
    no_fielddescription = 6
    undefind_error = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    MESSAGE e800(zmdb_mda_supplier).
    ENDIF.
    The above code is in screen USER COMMAND OF 1017(POV-input help screen).
    wt_dynpfields is the internal table.
    and its fields are fieldname,stepl and fieldvalue
    ws_dynpfields is the workarea of the internal table.
    wc_scrfld-Constant with value zbut0000qnnyxa-ztfldg6h7np'(the description field name of the screen 1008 where i want the description value to get in automatically after selecting from input help)
    ws_hssr-text= The Work area containing the value 'eg ORDER'.
    kindly get back immediately....

    Hi,
    This function works only after POV.
    So ensure that it is written in that module:
    like AT SELECTION-SCREEN ON VALUE-REQUEST FOR f_name.
    Hope it will guide you.
    Jogdand M B

  • Use value from tabular form column in the LOV where clause of another column

    Hi
    Using APEX 4.2 on 11g
    In a tabular form I want to filter the values in a Popup Key LOV based on the value of another column (same row).
    i.e. I want to get the value of one column and use it in the where clause for the Popup LOV on the same row.
    e.g. where COL 2 is a popup LOV
    COL 1
    COL 2
    1
    LOV SQL: SELECT a FROM b WHERE c = <value from COL 1>
    2
    LOV SQL: SELECT a FROM b WHERE c = <value from COL 1>
    3
    LOV SQL: SELECT a FROM b WHERE c = <value from COL 1>
    The value in COL 1 does not change once the row is created. It is a hidden ID field.
    Is this possible?
    Nick

    Anyone have any ideas?
    I thought getting the value from one column and using it in another column would be commonly used functionality... I just can't seem to work it out.

  • Calling url from a form - err using ".value" method

    I'm trying to call url from a form, which seems to be the subject of many of these Posts.
    I have a form with a combo box/LOV and a button. The LOV will read a url into the combo box from a table of url's.
    I used the following code in the "OnClick" Java Script Event Handler section, which I pieced together from other posts in this and other forums. (i.e. I'm a pl/sql programmer trying to use Java Scripts for the first time).
    OnClick
    var X = FORM_DRWING.DEFAULT.A_DRILLDOWN_PATH.value;
    run_form(x);
    When I attempt to run this form from the "manage" window, I get a run time error "FORM_DRWING is undefined" upon clicking the button. FORM_DRWING "IS" the name of the form!
    The runform() function in the "before displying form" pl/sql code section is
    htp.p('<script language="JavaScript1.3">
    < !--
    function runForm(v_link)
    window.open(V_LINK);
    //-->
    </script>');
    This code was from yet another Post.
    Any help would be appreciated.
    Thanks, Larry
    null

    Hi Larry,
    the problem could be that you need to preface your form with 'document.'.
    i.e.
    var X = document.FORM_DRWING.DEFAULT.A_DRILLDOWN_PATH.value;
    Regards Michael

  • Buliding a SELECT in PSP using fields from html form

    Hi everyone, first of all forgive me my poor english.
    I'm making "CV Base" in PSP as a school project. And I've got a search html form like this (simple version):
    select list: Profession
    text field: Age
    And my question is... How to build a select in psp which will parse only given parameters? For example. I'm looking for C Programmer in any age so i select C Pogrammer from the list and leave afe field blank. So the SELECT should be sth like this: select * from Person where Profession like 'C Programmer'; But in another search i need a programmer who is 25 years old... So select has one more WHERE... I'm sure You all know what I mean
    Please help me.
    Martin

    Hey, i wanna open cursor and don't know how to do this. Got this:
    <%@ plsql parameter="f_wyk" type="varchar2" default="NULL" %>
    <%! sel_str varchar2(1000) := 'SELECT imie, nazwisko, wiek, ulica, nr_domu, nr_lokalu, kod_pocz, miasto, nazwa_woj FROM Uczelnia ucz, Stanowisko stan, Jezyk jez, Wojewodztwo woj, Wyksztalcenie wyk, Adres adr, Osoba os, os_wyk ow, os_jez oj, os_sta ost, os_ucz ou WHERE nazwa_wyk LIKE :1 ...
    <% OPEN cur FOR sel_str USING 'pod%'; %>
    <% LOOP %>
    <% FETCH cur INTO rosoba; %>
    <% EXIT WHEN cur%NOTFOUND; %>
    <%= rosoba.imie %>
    <% END LOOP; %>
    <% CLOSE cur; %>
    and when i put <% OPEN cur FOR sel_str USING *'pod%'; %>* it works but i'cant use parameter <% OPEN cur FOR sel_str USING *<%=f_wyk%>*; %>
    I have
    Projekt\psp>loadpsp -replace -user system/system szukaj2.psp
    ORA-20006: "szukaj2.psp": compilation failed with the following errors.
    "szukaj2.psp", line 100, pos 31: PLS-00103: Encountered the symbol "<" when expecting one of the following:
    ( - + case in mod new not null out <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set specification>
    <an alternatively-q
    please help

  • Global Variables passing from standard form for use on custom form

    Hi,
    I'm trying to grab a value from a standard form, and pass it to a new custom form, which I am opening automatically from the standard form via personalizations. Is anyone aware of a way to send a value from one form to another? I was going to try using a global variable, which it looks like you can set through personalization. I tried doing it by passing the value as a form parameter, which works if I hard code a value, but it doesn't work if I refer to a value from the standard form.

    in your E-Business-environment may exist some special codings, which you have to think of, when passing parameters through the application.
    Copy the question to your EBS-Forum. They know ways using personalization and passing parameters

  • How can I move actions from old computer using Elements 6 to new computer using Elements 12?

    I downloaded some actions onto my old computer using Elements 6. I would like to move them to my new computer using Elements 12. How do I do that?

    Does she have any photos in the iPhoto library on her new machine?
    What version of iPhoto does she have?
    The general answer is to trash the iPhoto library on the new computer (assuming it is empty) and drag the old iPhoto library to the pictures folder of the new machine and launch iPhoto letting it convert the library
    LN

  • Using a Simple Parameter Form Portlet with a Report Portlet to Search DB

    My organization registers clients for workshops in iLearning.We use iPortal for our web site. I would like to use a Simple Parameter Form Portlet for clients to conduct a search on the data that is in iLearning and have it displayed in a Report Portlet on a separate page. I have been able to bring the iLearning data into the Report Portlet but I have not been successful in setting up the Simple Parameter Form Portlet to do a search on the data and then have it displayed. Any suggestions.

    hi,
    i just tested this in portal 10.1.4 and it works fine. you can fire an event and pass a parameter from a simple parameter form portlet and consume this page parameter in a portlet builder reports component. there is some documented behavior in bug 3321558 that has to do with personaliziation (customization in older releases). if you enter some personalization the page parameter gets ignored. for more information on this please contact oracle support services.
    regards,
    christian

  • I'd like to use video from iPhone to iMac using airplay

    Hi!
    Sometimes I watch interner video on my iPhone 5.
    Please help me to understand the following:
    IS IT POSSIBLR TO WATCH THE SAME VIEOS USING AIRPLAY FROM IPHONE TO IMAC?
    Thanks in advance

    Not by design though I think there are 3rd party apps that may allow this.
    For example:
    http://www.reflectorapp.com
    Never tried it - there may be a demo - let us know if it works.
    AC

Maybe you are looking for