Get data out of Pagemaker

I am a database person.  I don't know the Adobe product set.  The users are in Pagemaker (sorry don't know what version). The plan is to move to database assisted publishing.  The users are definitely not technical - and know what they are doing in Pagemaker by rote only.
I want to get the current data out of Pagemaker.  Put it into a database, probably Microsoft Access.  Have them upgrade to InDesign.  And then use the datamerge feature of InDesign.
Can one export data out of Pagemaker to excel or text file?  They will be resistant to re-keystroking all that data.

just a note; will use excel/csv for the future datamerge;  Access exports to this no problem.  But there is a huge efficiency in having the data in a database rather than in excel in terms of routine updates.  All the data is cross referenced.  The catalog is organized by name, by county, by industry, etc.  Each is a section.  A person changes location or industry - - and one doesn't want to have to go to each section and make the change.  Besides being x5 the amount of work, they are having errors when they fail to remember to manually update every section in a change.
In a database format - you just change the person's data once; and then each section is automatically changed.   The publication is annual but the updates & changes occur daily.  So we will export it from Access to excel / csv at the time of publication for import by InDesign.  It would be even more efficient if InDesign handled direct links to Access tables or queries - as does Microsoft's Word merge - but at 1x per year it isn't a biggie.  If one was publishing frequently then that direct link into the database might be quite important.
But in any case I would think anyone in the catalog type publishing - where the info is presented sorted & resorted in various formats/categories like described here - really wants to use a database as the fundamental data holder.

Similar Messages

  • Why so much code getting data out of DB & into web services

    I am new to Java and I am experimenting with web services.
    I am trying to get data out of a database and into a web service
    This is the code I had to build just to get a little bit of data out of a DB and into a web service.
    // Open a database connection and statement.
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    Connection dbConn = DriverManager.getConnection("jdbc:db2:sample","myuser","mypass");
    Statement statement = dbConn.createStatement();
    // Build the message.
    SOAPMessageContext ctx = (SOAPMessageContext) messageContext;
    try {
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage m = messageFactory.createMessage();
    SOAPEnvelope env = m.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    SOAPElement elem =
    body.addBodyElement(env.createName("ns1:getEmployees"));
    elem.addNamespaceDeclaration("ns1",
    "http://www.abc.com/SampleApplication/Employee.wsdl");
    elem.addNamespaceDeclaration("ns2",
    "http://www.abc.com/SampleApplication/Employee.xsd");
    SOAPElement elem1 = new SOAPElementImpl("Response", null, null);
    // Execute the query.
    String sql = "SELECT EMPNO, FIRSTNME, MIDINIT, LASTNAME, HIREDATE FROM EMPLOYEE";
    ResultSet result = statement.executeQuery(sql);
    Isn't there a way with less code to get data out and stick into a web service?

    I left the part of the code out that is bugging me - I was talking about all of the code to get the data into XML..
    here's the whole code..
    // Open a database connection and statement.
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    Connection dbConn = DriverManager.getConnection("jdbc:db2:sample","myuser","mypass");
    Statement statement = dbConn.createStatement();
    // Build the message.
    SOAPMessageContext ctx = (SOAPMessageContext) messageContext;
    try {
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage m = messageFactory.createMessage();
    SOAPEnvelope env = m.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    SOAPElement elem =
    body.addBodyElement(env.createName("ns1:getEmployees"));
    elem.addNamespaceDeclaration("ns1",
    "http://www.abc.com/SampleApplication/Employee.wsdl");
    elem.addNamespaceDeclaration("ns2",
    "http://www.abc.com/SampleApplication/Employee.xsd");
    SOAPElement elem1 = new SOAPElementImpl("Response", null, null);
    // Execute the query.
    String sql = "SELECT EMPNO, FIRSTNME, MIDINIT, LASTNAME, HIREDATE FROM EMPLOYEE";
    ResultSet result = statement.executeQuery(sql);
    SOAPElement employee = new SOAPElementImpl("Employees", "ns2", "http://www.abc.com/SampleApplication/Employee.xsd");
    employee.addChildElement("ns2:EMPNO").addTextNode(result.getString("EMPNO"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("FIRSTNME"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("MIDINIT"));
    employee.addChildElement("ns2:LASTNAME").addTextNode(result.getString("LASTNAME"));
    employee.addChildElement("ns2:FIRSTNME").addTextNode(result.getString("HIREDATE"));
    elem1.addChildElement(employee);
    elem.addChildElement(elem1);
    ctx.setMessage(m);
    dbConn.close();
    } catch (Throwable e) {
    weblogic.utils.Debug.say("(hbs):e " + e);
    e.printStackTrace(System.out);
    putting the data in the node seems excessive to me.
    thanks
    AP

  • Getting data out of Oracle to SQL Server 2005

    Hello,
    I am new in Oracle and I have this question.
    I need to transfer lots of data frequently at day from a large Oracle DB to a SQL Server 2005 Database.
    Could you tell me what tools (including PL/SQL) ORACLE offers to reach this goal?
    *.Dat files are still a way to perform this job or other method more performance (quickly and efficiently) are available?
    Using MS SSIS is better ?
    Thank for your help

    I've done getting data out of Oracle to MS Access DB using heterogenous servicing.I hope that that would be the best way for your case too..
    Check this out.
    http://www.datadirect.com/developer/odbc/oracle_heterogeneous/index.ssp
    Regards,
    Bhagat

  • How to get data out of XML?

    Hi,All.
    I am running SAX (JAXP1.01) in Applet to process XML file. My question is how to get data out of xml format according to the field name (@age,@rank etc)
    and write into string buffer seperated by comma.
    Should I use SAX or DOM? (file size is big)
    My xml as follow :
    <ROOT>
    <FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@team/relay}">
         <ObjectName>Field124</ObjectName>
         <FormattedValue>HUNTER</FormattedValue>
         <Value>HUNTER</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@age}">
         <ObjectName>Field125</ObjectName>
         <FormattedValue> 19</FormattedValue>
         <Value> 19</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@Rank}">
         <ObjectName>Field126</ObjectName>
         <FormattedValue>43</FormattedValue>
         <Value>43</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{results.athrel_name}">
         <ObjectName>Field127</ObjectName>
         <FormattedValue>1-1 NORRIE</FormattedValue>
         <Value>1-1 NORRIE</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield2}">
         <ObjectName>Field128</ObjectName>
         <FormattedValue>1:54.75</FormattedValue>
         <Value>1:54.75</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield1course}">
         <ObjectName>Field129</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield1std}">
         <ObjectName>Field130</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield2course}">
         <ObjectName>Field131</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield2std}">
         <ObjectName>Field132</ObjectName>
         <FormattedValue>QT</FormattedValue>
         <Value>QT</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@points(left)}">
         <ObjectName>Field133</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@pointsdecimal}">
         <ObjectName>Field134</ObjectName>
         <FormattedValue/>
         <Value/>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:decimal" FieldName="{@points(right)}">
         <ObjectName>Field135</ObjectName>
         <FormattedValue>0</FormattedValue>
         <Value>0.00</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@timefield1}">
         <ObjectName>Field136</ObjectName>
         <FormattedValue>1:55.98</FormattedValue>
         <Value>1:55.98</Value>
    </FormattedReportObject>
    <FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{@Rank}">
         <ObjectName>Field137</ObjectName>
         <FormattedValue>43</FormattedValue>
         <Value>43</Value>
    </FormattedReportObject>
    Repeat...
    </FormattedReportObject>
    </ROOT>
    ------------------------------------------------

    For big files use SAX: quicker and less memory usage.
    The xerces parser from Apache has some examples. Basically what you do is scan the XML, remembering what tag you are and once you find the right tag, read the contents.

  • Getting data out of ALV Grid

    Hi,
    i have an editable instance of cl_gui_alv_grid. Is there an easy way of getting out the data or do i really need to implement an event handler catching handle_data_changed? I'm not interested in the event itself, and cause the column is a kind of free text i dont need to check the data, so it is sufficient to get the data out when the user is clicking the ok button.

    hi
    refer this sample code... for non oops concept
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      field_style  TYPE lvc_t_styl, "FOR DISABLE
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER LINE,
          wa_fieldcat TYPE lvc_s_fcat,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
          gd_repid     LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM set_specific_field_attributes.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      wa_fieldcat-fieldname   = 'EBELN'.
      wa_fieldcat-scrtext_m   = 'Purchase Order'.
      wa_fieldcat-col_pos     = 0.
      wa_fieldcat-outputlen   = 10.
      wa_fieldcat-emphasize   = 'X'.
      wa_fieldcat-key         = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'EBELP'.
      wa_fieldcat-scrtext_m   = 'PO Item'.
      wa_fieldcat-col_pos     = 1.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'STATU'.
      wa_fieldcat-scrtext_m   = 'Status'.
      wa_fieldcat-col_pos     = 2.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'AEDAT'.
      wa_fieldcat-scrtext_m   = 'Item change date'.
      wa_fieldcat-col_pos     = 3.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-scrtext_m   = 'Material Number'.
      wa_fieldcat-col_pos     = 4.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MENGE'.
      wa_fieldcat-scrtext_m   = 'PO quantity'.
      wa_fieldcat-col_pos     = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MEINS'.
      wa_fieldcat-scrtext_m   = 'Order Unit'.
      wa_fieldcat-col_pos     = 6.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'NETPR'.
      wa_fieldcat-scrtext_m   = 'Net Price'.
      wa_fieldcat-edit        = 'X'. "sets whole column to be editable
      wa_fieldcat-col_pos     = 7.
      wa_fieldcat-outputlen   = 15.
      wa_fieldcat-datatype     = 'CURR'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'PEINH'.
      wa_fieldcat-scrtext_m   = 'Price Unit'.
      wa_fieldcat-col_pos     = 8.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
    Set layout field for field attributes(i.e. input/output)
      gd_layout-stylefname = 'FIELD_STYLE'.
      gd_layout-zebra             = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_user_command = 'USER_COMMAND'
                is_layout_lvc               = gd_layout
                it_fieldcat_lvc             = it_fieldcat
                i_save                  = 'X'
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO  CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  set_specific_field_attributes
          populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
      DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
    The NETPR field/column has been set to editable in the fieldcatalog...
    The following code sets it to be disabled(display only) if 'NETPR'
    is gt than 10.
      LOOP AT it_ekko INTO wa_ekko.
        IF wa_ekko-netpr GT 10.
          ls_stylerow-fieldname = 'NETPR' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    endform.                    " set_specific_field_attributes

  • I need to get data out of Oracle 8i??!!

    I am working for a company that is moving from one old application to a new application.
    The Old application is using Oracle 8i for a backend. I know SQL Server very well. However, I don't know Oracle.
    1) One guy on the forum helped me to find the SIDs and see the databases being run.
    2) I have also changed the password file and can now get in as internal.
    Great, but I need data.
    1) How can I get the data out of Oracle 8i?
    2) Is there a way to export the data to CSV or spreadsheet?
    3) There are 1400 tables with cryptic table names. How can I see the tables and their column names?
    (this is easy to do with SQL Server, but again, I am just starting to use Oracle).
    Thanks in advance for any and all help!!! This is crazy!

    Hello,
    No one likes a thread that goes on and on. I really appreciate those that try to help.
    I now this database is being used. However, we are trying to read the database and create reports before switching over to a new application.
    The database is in use.
    I've tried
    select table_name, column_name from user_tab_columns;
    I get over 15,000 rows of this
    TABLE_NAME COLUMN_NAME
    EXU81REFC ROWNER
    EXU81REFC RTNAME
    EXU81REFC CNAME
    EXU81REFC CNO
    EXU81REFC RCNO
    EXU81REFC ACTION
    EXU81REFC ENABLED
    EXU81REFC DEFER
    EXU81REFC PROPERTY
    EXU81REFC ROBJID
    EXU81REFC ROWNERID
    EXU81REFC REFTYPE
    EXU81REFI OBJID
    EXU81REFI OWNER
    EXU81REFI OWNERID
    EXU81REFI TNAME
    EXU81REFI ROWNER
    EXU81REFI RTNAME
    EXU81REFI CNAME
    EXU81REFI CNO
    EXU81REFI RCNO
    (none of which looks like user tables, but rather system tables)
    when I tried
    SELECT TABLE_NAME, NUM_ROWS FROM ALL_TABLES;
    I get over 1400 rows of this:
    TABLE_NAME NUM_ROWS
    CNBIL1
    CNBIL2
    CNBJR
    CNBJT
    CNBLC
    CNBLDE
    CNBLES
    CNBLK1
    CNBLK4
    CNBLLOG
    CNBLNET
    CNBLQ
    CNBLR
    CNBLR1
    CNBLRD
    CNBLRR
    CNBLRT
    CNBLRW
    CNBLTF5
    CNBLX
    CNBPC
    I've tried to do a select on a few table_names and I get "no rows selected".
    Isn't there a way in Oracle to see what tables have a rowcount > 0 and then get the table_names and column_names from those tables?
    I found the free download of TOAD, but not sure how much more that would help me than using SQL Plus at this stage of the game when I don't even see data. Maybe TOAD would help getting the data once I know where to look...I guess.
    Thanks for helping to straighten out with the confusion.

  • Need help getting data out of a itemrenderer component

    I have a datagrid populated via a dataprovider (arrayCollection). No issue there
    I have a dateField Custom itemRenderer (as a component) and this is populated fine, so no issue there either.
    However I can't seem to find any way of getting the data out (it can be edited, so it is no longer the original data). I can get the original data, but not the new data.
    I can't use an event as there are hundreds of rows that I need to manipulate to write back to the database. I just want to get all the values as displayed in the datagrid.
    I just want to loop through the datagrid and pull out the data as entered in the itemrenderer component object. In debug mode I can see
    event --> itemrenderer --> [inherited] --> mycustomecomponent --> text. I just can't seem to get at it.
    Any Ideas. It's got to be simple and I am just missing it I guess.

    In your ItemRenderer, assign your data.yourDataFieldHere to the new value after editing is complete. This will allow you to then loop through the dataProvider in the main application and get all the values needed.
    function onEdit(evt:Event):void {
    data.yourDataField = evt.currentTarget.text; // Or use whatever property of the edited item you need here.
    Chris

  • Need help getting data out of Berkeley DB

    Hi All
    I have an old vrsion of Berkeley Db (about 5 years old I think) that we use at work for storing key value pairs. We use this to store ids for that data that we later load to a relational database. We have multiple files with key vaue pairs. One particular file is very large(11 GB) and has about 100million entries.
    We are trying to migrate the data from Berkeley DB to a relational database. I was able to get the entries out of most files but this large file is givng trouble.
    I can only get out about 26 million entries. I have tried Ruby and Perl to get the data out (our main application is in Ruby) and tried multiple approaches but all hit the limit at about 26.xx million records.
    If anybody has experienced similar thing and knows a way to get the data out, your help is highly appreciated.
    Thank
    Harsh D.

    Hi All
    This is for Berkeley DB version that is at least 5 years old. I do not know the exact verion and do not know how to find one. This is not for the Java Edition or the XML edition.
    Below is what I am doing in Ruby:
    db = nil
    options = { "set_pagesize" => 8 * 1024,
    "set_cachesize" => [0, 8024 * 1024, 0]}
    puts "starting to open db"
    db = BDB::Btree.open(ARGV[0], nil, 0, options)
    if(db.size < 1)
    puts "\nNothing to dump; #{ARGV[0]} is empty."
    end
    puts "progressing with the db"
    myoutput = ARGV[1]
    puts "allocating the output file #{myoutput}"
    f = File.open(myoutput,"w")
    i = 0
    iteration = 0
    puts "starting to iterate the db"
    db.each do |k, v|
    a = k.inspect
    b = v.inspect
    f.puts "#{a}|#{b}"
    i = i+1
    if (i>1000000)
    iteration = iteration + 1
    puts "iteration #{iteration}"
    i = 0
    end
    end
    This only outputs about 26.xx million records. I am sures there are more than 50 million entries in the database.
    I also tried some other approaches but nothing seems to work. I end up getting only 26.xx million entries in the output.
    In some case, I managed to get it to output more records, but after 26.xx million, everything is output as duplicate entries so they are of no use to me.
    The Ruby is 32 bit version. I tried this on Windows 7 (64 bit) and also on RedHat Linux 5 (64 bit version).
    Thanks
    Harsh
    We ran db_stat on the ExpId database and below are the results
    ExpId
    53162 Btree magic number
    8 Btree version number
    Big-endian Byte order
    Flags
    2 Minimum keys per-page
    8192 Underlying database page size
    2031 Overflow key/data size
    4 Number of levels in the tree
    151M Number of unique keys in the tree (151263387)
    151M Number of data items in the tree (151263387)
    9014 Number of tree internal pages
    24M Number of bytes free in tree internal pages (68% ff)
    1304102 Number of tree leaf pages
    3805M Number of bytes free in tree leaf pages (64% ff)
    0 Number of tree duplicate pages
    0 Number of bytes free in tree duplicate pages (0% ff)
    0 Number of tree overflow pages
    0 Number of bytes free in tree overflow pages (0% ff)
    0 Number of empty pages
    0 Number of pages on the free list

  • How to get data out of HP4145B to a PC through GPIB cable?

    I have some measurement data in a HP4145B. And I need to get the data out of it to my PC. Is there anyone who can help me with this? The labview version I'm using is 6.0

    There is a LabVIEW driver available for this instrument here. Download the one for version 6 and install it in your instr.lib folder. There is a Learn About Instrument Drivers page if you've never used one before.
    Message Edited by Support on 01-24-2007 05:07 PM

  • How to get data out of quiz with POST or GET?

    Seems like a simple question, but I haven't yet been able to
    capture the results of a quiz yet. I want to fetch the POST data
    from the quiz in PHP using something like:
    $quizTotal = $_POST['total'];
    $quizCorrect = $_POST['correct'];
    Alternatively, I can use ASP:
    quizTotal = request.form("total")
    quizCorrect = request.form("correct")
    But I still haven't been able to get ANY data out of a quiz.
    HOW?

    benhenny,
    Are you trying to capture data locally and send to a
    server-side script - or
    use the existing LMS functionality to capture the post (for
    AICC) in a PHP
    script?
    Regards,
    Andrew

  • How to get data out of Vector of vector ???

    All,
    I have a vector v1 which is getting populated by the resultset of the database. This vector has another two vectors vrow & vcol .
    Code as follows ---
    v1 = new Vector();
    while(rs1.next()) {
         Vector vrow = new Vector();
         for (int i=intstartday ; i <= intendday ; i++)
         {     // here I am getting the new result set for each i //
              ResultSet rs2 = getResultSet();
              while(rs2.next()) {
                   Vector vcol = new Vector();
                   vcol.addElement(rs2.getString("day"));
                   vcol.addElement(rs2.getString("reg_hr"));
                   vcol.addElement(rs2.getString("dateday"));
                   vrow.addElement(vcol);
              rs2.close();                              
         } // for loop end
         vrow.addElement(strChargeNmbr);
         v1.addElement(vrow);                    
    } // end of rs1 resultset while loop
    I need to get the data out of this vector v1. If anyone has any insight on this - how to get the data from vectors which has differnt type of objects in it , please send me the code example asap.
    thanx

    Thanks for your suggestion. It is working now except that I am having problems in getting the charge NUmber out....Charge NUmber is nothing but a String.
    So my row Vector has two values
    1. Check the code where I am populating the Vectors
    while(rs1.next()) {
    strsubmittime = rs1.getString("SUBMIT_TS");
    strapprovetime = rs1.getString("APP_DIS_TS");
    strapprempid = rs1.getString("APP_DIS_EMP_ID");
    strChargeNmbr = rs1.getString("entered_cn");               
    Vector vLaborrow = new Vector();
    for (int i=intstartday ; i <= intendday ; i++)
    // here execute the query and get the result set for every i //                         ResultSet rs2 = getResultSet();
         while(rs2.next()) {
         Vector vLaborcol = new Vector();
         vLaborcol.addElement(rs2.getString("day"));
         vLaborcol.addElement(rs2.getString("reg_hr"));
         vLaborcol.addElement(rs2.getString("dateday"));
         vLaborrow.addElement(vLaborcol);
    } // for loop end
    vLaborrow.addElement(strChargeNmbr);
    vLabor.addElement(vLaborrow);
    } // end of rs1 resultset while loop
    2. check out the following code where I am trying to get the Charge NUmber values out.--
    for(int i=0;i<vLabor.size() ;i++)
    Vector rowVec = (Vector)vLabor.elementAt(i);
    for(int j=0; j< rowVec.size() -1 ; j++)
    try
         if (j==0) {
    String strChargeNmbr = (String)rowVec.elementAt(j) ;
    Vector laborcol = (Vector)rowVec.elementAt(j);
    String day = (String)laborcol.elementAt(0);
    String reg_hr = (String)laborcol.elementAt(1);
    String dateday = (String)laborcol.elementAt(2);
    strChargeNmbr = strChargeNmbr + " " + reg_hr ;
    }catch(ClassCastException e){
         System.out.println("Reading in vector2");
    } // end of j for loop
    System.out.println(strChargeNmbr);
    } // end of i for loop
    I am getting the following Exception --
    "Reading in vector2"
    Please send me the code -- how to get the Charge NUmber out. I am confused where to get the value - is it in the first for loop or second for loop ??

  • Get data out of parentheses

    var oModel = new sap.ui.model.odata.ODataModel(url, true, username, password); 
    oModel.read('/', null, null, true, function(oData, oResponse)
       var dataget = JSON.stringify(oData);  
       var count = oData.results[0].Ort01;
       var Name1 = oData.results[0].Name1;
       var Kunnr = oData.results[0].Kunnr;
      alert(count + " " +Name1 + " " +Kunnr);  
    here as you see I can get the variables inside parenthesis({ }); How to get the same variable objects outside the parenthesis something like this..
    var oModel = new sap.ui.model.odata.ODataModel(url, true, username, password); 
      oModel.read('/', null, null, true, function(oData, oResponse)
    var dataget = JSON.stringify(oData);  
    var count = oData.results[0].Ort01;
    var Name1 = oData.results[0].Name1;
    var Kunnr = oData.results[0].Kunnr;
    alert(count + " " +Name1 + " " +Kunnr);
    as I want to bind the values to labels on a page. Or can you give me an example to get data from odata and put that onto a page.
    Thank You

    Hi Abhinav
    regarding binding value to control, here is what you need to do
    var oModel = new sap.ui.model.odata.ODataModel(url, true, username, password);
    oModel.read('/', null, null, true);
    var label = new sap.m.Label({text: '/results/0/Ort01'});
    you can add label to a page, and then do
    page.setModel(oModel);
    Hope this helps
    -D

  • Getting data out of an input box (textField1)

    Page1 has an input field and a submit button... I'm trying to grab the data that is keyed into the input field, store it in a session bean, and then go to a new page.
    I've created Temp1 two different ways
    private  String Temp1 = "Begin";in the instantiation method as well as you see in the action method below.
    I keep getting null pointer exceptions, which as near as I can tell are because I never actually get the text that was keyed into textField1. In the debugger the Value of my watch shows "null"
        public String submitbuttonpage1_action() {
            // TODO Replace with your code
            try {
                String Temp1 = (String)textField1.getValue();
                // this seems to return a null value???
                getSessionBean1().setTransport_order_num((String)textField1.getValue());
                java.lang.System.out.println("what is the value of Temp1 " + Temp1);
            catch (Exception e) {
                log("Page1 submitbuttonaction Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
            // Select the ILAUDT1 records for the current order number       
            return "TransOrder";I'm obviously missing something simple...
    Do I have to acces the inputField1 in a different method in order to get to the contents typed in on the screen?
    thanks
    Craig

    I've read the thread you referenced... but I'm not sure I understand the issue...
    Let me say that I have gotten the session beans to work marvelously as long as I am assigning the value using a text string, for example, getSessionBean1().setTransport_order_num("FJVP62865");
    I have gone to my Page2 and made sure that there is no outputText1 variable even referenced in it.
    I have modified the session bean upate to be:
    this.getSessionBean1().setTransport_order_num(textField1.getValue().toString());
    but when that line of code executes, I still get:
    Exception Details: javax.faces.FacesException
    #{Page1.submitbuttonpage1_action}: javax.faces.el.EvaluationException: javax.faces.FacesException: java.lang.NullPointerException
    I also get a null pointer exceptoin when I try to simply set a String variable using that code:
    Temp1 = textField1.getValue().toString();
    Do I need to modify the Page1.jsp file for the textField1??
    <h:inputText binding="#{Page1.textField1}" id="textField1" style="left: 72px; top: 48px; position: absolute" title="Enter Order Number including leading zeros."/>
    I seem to be lost somewhere between JSC, JAVA, and JSF here.... thanks for helping me though this..
    Craig

  • Problems getting data out of Mocha and into After Effects

    Hi.  I'm using After Effect CS4.  I brought a video clip into Mocha and tracked it.  I've tried copying the data to clipboard and also went back and saved as a text file since I could't paste into After Effects.
    Haven't figured out how to make either method work.
    At first, I'd created a Null Object in AFX and added the COrner Pin Effect, but the paste option is greyed out - doesn't matter if I select the layer or the Corner Pin effect.
    Next I created a solid since I'd seen that mentioned on some threads, but Paste is still greyed out.
    Tried exporting the tracking data as a file from mocha next and have the corner pin data sitting on my desktop as a txt file - but still not sure how to get that into After Effects CS4 - tried this with a null and a solid, but not working.
    Thanks for any suggestions.

    Also - It pastes unmoving data as well into the Postion, Scale, and Rotation of the solid as well as the Corner Pin Effect.
    Yes, AE's corner pin does the same. It's how it is supposed to work. You need to choose the RG Warp compliant variant to only get corner pin data. The rest is too vague. Wee need exact info on what you are doing. Tracks appearing to be static is simply an issue where coordinates are introduced twice and somehow self-compensate, which for all intents and purposes could relate to the previously described issue....
    Mylenium

  • Getting Data out of MM tables

    hello everyone,
    I need to gather the following material details into one internal table and loop through them.
    I have declared the following internal table:
    tables: MARA, MAKT, MARC, STXH.
    data: begin of matl_details occurs 0,
    prod_id type mara-matnr,
    order_unit type mara-bstme,
    price type mara-vpreh,
    prod_group type mara-prdha,
    base_uom type mara-meins,
    mnfctr_id type mara-mfrnr,
    mnfctr_part_no type mara-mfrpn,
    sh_desc type makt-maktx,
    delvry_time type marc-plifz,
    end of matl_details.
    I need PURCHASE ORDER TEXT as well. How can I get it and put it in my internal table?
    I tried using BAPI_MATERIAL_GET_DETAIL to get all material detail and get ORDER_UNIT, DELIVERY_TIME, and PURCHASE ORDER TEXT with BAPI_PO_GETDETAIL. But somehow I don't know how to link them so that i can get all my details into one internal table.
    Would it be easier to use 'select' statement instead? How would I be able to do it?
    Your help will be rewarded.
    Thanks in advance.
    Regards,
    Eddie.

    how about something like this:
    data: begin of matl_details occurs 0,
    prod_id type mara-matnr,
    order_unit type mara-bstme,
    price type mara-vpreh,
    prod_group type mara-prdha,
    base_uom type mara-meins,
    mnfctr_id type mara-mfrnr,
    mnfctr_part_no type mara-mfrpn,
    sh_desc type makt-maktx,
    delvry_time type marc-plifz,
    ebeln type ekko-ebeln,
    end of matl_details.
    data t_ITEM_TEXTS type  BAPIEKPOTX.
    select maramatnr marabstme maravpreh maraprdha marameins maramfrnr mara~mfrpn
    maktmaktx marcplifz ekpo~ebeln
    from mara
    join marc on marcmatnr = maramatnr
    join makt on maktmatnr = maramatnr
    and spras = sy-langu
    join ekpo on ekpomatnr = maramatnr
             and ekpowerks = marcwerks
    into table matl_details
    where.......
    delete adjacent duplicates from matl_details comparing ebeln.
    loop at matl_details.
    CALL FUNCTION 'BAPI_PO_GETDETAIL'
      EXPORTING
        purchaseorder                    = matl_details-ebeln
       ITEM_TEXTS                       = 'X'
    TABLES
       PO_ITEM_TEXTS                    = t_item_texts
    process here.......
    endloop.

Maybe you are looking for

  • Importing multiple jpeg files from local folder into database LOB column

    I have to programatically save multiple pictures (jpeg) from the folder on my PC into Oracle table LOB column. I have to be able to choose local folder on my PC where are the pictures, and press button on Oracle Forms to save pictures in LOB column i

  • How do I open one .mxml from another?

    I suppose I would make a "link" some how, just like in an html page.  What would the URL look like?  What is the ActionScript command to open that other .mxml file?  (Which may be a form or just another page) Thanks in advance.

  • M-Audio FW1814 drivers

    Hi. Is anyone out there using this audio interface?. I have one at home with Macbook Pro 10.4.8 and 13 at a college with Intel iMacs currently on 10.4.7. Sound quality excellent, records well etc, but at work odd problems like continually having to r

  • 3" halo in middle of screen

    Is there anything I can do about a halo that appears on the screen of my 20" cinema display? It's a terribly distracting flaw.

  • TS4124 why can't I transfer newly uploaded music to my ipod that is "waiting" on match?

    I just bought a couple of cd's and uploaded them to itunes.  I can play them on my computer and can stream them via match to my ipad but Itunes won't let me sync them to my shuffle or ipod.  I do have the match "waiting" icon by the songs in my libra