Column-oriented input

I need to capture some data in text fields but the data formatting requirements are very strict and very column oriented. In other words, if I have a varchar2(100) column and stuff must start at the 15th position and stuff like that.
How could a plain HTML text input field be "enhanced" to facilitate entry of such data?
Options
1. Show a hovering "ruler" when the input field gets focus, this ruler would contain column positions like 0123456789 over and over again. This hovering (div?) would have to match the height/width of the input field exactly and would need to be positionined directly above the input field.
2. Style the input field with a backgroud-image:url(...) using a screenshot of the ruler in (1) above. I tried this but the user-entered data gets "mixed up" with the background image and the result is all gibberish! Maybe the image transparency, opacity and color could be adjusted. Ideas welcome.
3. Show the character counter like the builtin "Textarea w/ character counter" item. The problem with this is that it always shows the the total number of characters entered in the widget so far. I would like it to track the cursor position in the field instead. So, if I enter 10 characters and use the <Left> arrow to go to the 6th character, I want to see "6 of 10 (max. 100)"
4. I would like to use the Tab key for navigation within this text field. Normally, the Tab key takes you to the next form input field (as defined by the tabindex). But, if I have a 100 character field, I woud like Tab to go to the 10th, 20th, etc position within that field (inserting spaces as necessary).
Comments welcome. Thanks.

Code wise it's actually pretty close to how the new Item Preview worksBecause it's collecting values per report row and using javascript to comibne them into something else.
Now how about this http://htmldb.oracle.com/pls/otn/f?p=24317:25 it runs onkeyup
Here's the new report query
select a.*,
'&lt;input size="3" type="text" onkeyup="combine(this)" value="'||substr(ip_address,1,pos1-1)||'" />' ip1,
'&lt;input size="3" type="text" onkeyup="combine(this)" value="'||substr(ip_address,pos1+1,pos2-pos1-1)||'" />' ip2,
'&lt;input size="3" type="text" onkeyup="combine(this)" value="'||substr(ip_address,pos2+1,pos3-pos2-1)||'" />' ip3,
'&lt;input size="3" type="text" onkeyup="combine(this)" value="'||substr(ip_address,pos3+1)||'" />' ip4
from (
select
"PK",
"PK" PK_DISPLAY,
instr(ip_address,'.',1,1) pos1,
instr(ip_address,'.',1,2) pos2,
instr(ip_address,'.',1,3) pos3,
"IP_ADDRESS"
from split_fields
) a
This goes in the page header
&lt;script type="text/javascript">
&lt;!--
function combine(pThis){
var lTR = html_CascadeUpTill(pThis,'TR');
var lInputs = html_Return_Form_Items(lTR,'INPUT');
var lTextInputs = new Array();
for(var i=0;i&lt;lInputs.length;i++){
if(lInputs.type == 'text'){lTextInputs[lTextInputs.length]=lInputs[i]}
lTextInputs[0].value = lTextInputs[1].value +'.'+ lTextInputs[2].value +'.'+ lTextInputs[3].value +'.'+ lTextInputs[4].value;
//-->
&lt;/script>
Carl
Message was edited by:
Carl Backstrom

Similar Messages

  • How to Map N number of  columns from input to output schemas at a time?

    Hi,
    I am new to BODI. In my project we are using DAT files, which contains more than 100 columns, as Source. At the Data Flow Level, in Query Transformation we are manually mapping columns from INPUT Schema to OUTPUT Schema one by one.
    Is there any way to MAP all the columns at a time from INPUT schema to OUTPUT schema.
    Hope I am clear with my question.
    Thanks for your support.
    Sudhakar

    Hi,
    Thanks for your answer.It's really helpul.
    But in my case, Source Filed names and Target Field names are different. As we know, OUTPUT column names should be same as Target Field names.
    I am just wondering is there any option to MAP columns between INPUT schema and OUTPUT Schema at a time, like Informatica.
    In Informatica you can MAP all the columns at a time between any 2 Transformation by using their port order, even though the Filed names are different .
    Do we have any option like this in BODI?
    Regards,
    Sudhakar

  • Column-Oriented Oracle Database

    Hi all,
    I'm researching the concept of an Column-Oriented Database for Oracle. I have read that column-based databases are a much faster way to query data than a traditional row-based database (like Oracle) but is slower to insert rows.
    Does anyone know if there are any tools or packages that Oracle or a 3rd party provides that could make an Oracle instance act in a Column-Oriented way?
    I need to stick with oracle since my ERP uses Oracle as the back end (accessed using PL-SQL packages).
    I am currently on Oracle 9i.
    Thanks,
    Scott

    Thanks Venkat...
    The reason I am looking into Column Oriented databases is for faster querying. I do not want to aggregate the data but, instead, just have a copy done nightly (or weekly) that would allow people to query production data in a column-oriented way. This way, we have the best of both worlds :
    1) Inserting new data using Oracle (using Traditional row-based methods)
    2) Querying old data using an Oracle-like copy (using Column-based methods)
    I know I can replicate the data, but just don't know if there is a database out there that can be used in a column-oriented way that looks like oracle to the ERP system that I use that sits on top of the database.
    Thanks for any help anyone can give.
    Scott

  • Setting column to input enabled in table control at run time

    Hi friends,
                  I have one table control in that all columns are
    set as display only field or ( output only).
                Now, when I press enter key one column should be
    enabled as input field. HOW TO DO THAT?
    my coading.
    loop at ztblctrl-cols into s_cols.
             if s_cols-screen-name = 'ZGATEPASS-MENGE'.
                s_cols-screen-input  = 1.
                s_cols-screen-output = 1.
                s_cols-screen-invisible = 0.
                s_cols-screen-active = 1.
                s_cols-screen-required = 1.
                move s_screen to s_cols-screen.
                modify ztblctrl-cols from s_cols.
            endif.
        endloop.
    Regards,
    s.senthil kumar

    Hi Kumar,
    Hope your code is in PBO.
    See the below 2 links and you will come to know where you are going wrong.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
    http://sap.niraj.tripod.com/id29.html
    Reward points for helpful answers.
    Regards,
    hari

  • Chars in columns for Input Ready query

    Hi
    Hope every body is just doing fine. I am puzzled with following doubt when compare BPS layout builder to IP input ready report. Please help me to clear some smoke here.
    We have a simple input ready query to enter some values in the key figure for given combination of characteristics for 12 fiscal year periods in the year.
    BPS >>> In BPS manual planning layout we would have selected the Key figure and Fiscal Year Period in data column and profit center and Plan Year in Header and Other characteristics like GL account,cost center in lead column so that we can hide the Fiscal year period by restricting the values of key figure for particular fiscal year period value while creating columns in Data columns like Jan 07. etc
    IP>>> So in IP, I have fiscal year period in aggregation level with all other chars and key figure. In input ready report, I have used the structure to pull the key figure and fiscal year period value to come up with column and not included the key figure in rows or columns of report but when I was executing the query system is automatically including the fiscal year period as free char. I am puzzled on how this is going to work. Is fiscal year period not populated automatically based on column.
    Your inputs are highly appreciated with point.
    Thanks,
    Raj.

    Hi Raj,
    Experiencing similar problems. Which GUI are you on ?
    thanks
    Ian

  • Help on Report Column Orientation

    Hi,
    Let me explain with an example
    i have created a view emp_v as
    select empname as employee_name
    ,sal as employee_salary
    from emp
    Now when i create a report with following sql
    select employee_name ,employee_salary
    from emp_v
    Here i see that few columns are horizontally aligned where as some are vertical.
    Pls help me in finding how to control orientation of columns?
    Regards,
    CK

    Hi,
    Reports are created in tables and are, therefore, laid out as a grid, so all columns should line up vertically and all rows should line up horizontally. You can change the left/right alignment of text within a column - there is a setting on the Report Attributes page (click the "Report" link for your region to see this) within your report to do that.
    If text within a cell in the table is on more than one line, then it will not line up horizontally with text along the same row if they only take up one line. Is this what you are seeing?
    Andy

  • Expand in column for input schedule

    Hi Guru:
    We have 2 categories, Best Scenario, Normal Scenario.
    In the input schedule, the users want to have it in the below format:
                          Best Scenario                Normal Scenario
    Account
    So, I created a hierarchy for category, which called All Scenarios, then choose in in CV.
    In use EVDRE to put the category in column, SELL ALL.
    However, the system says the schedule is wrong.
    I achieved it with 2 EVDRE, but I just do not understand, if I put time in the column with a hierarchy node value, 2009.Q1, it will give me 4 columns, why I could not put category in the column to do the same thing?
    Thanks.
    Eric

    Hi Eric,
    I am sure you would have done it properly, however, would like you to check once again. See in the member sheet that the heirarchy is perfect. Process the dimension and the application once again. In the EVDRE, select the memberset as BAS and in the CV, select all_scenarios.
    You can definitely have a hierarchy. Tool will not stop you from doing it. However, I would suggest you not to follow this approach. Instead, you can the expansion only on rows and remove the expansion on columns. In the Column, specify the members you want, explicitly.
    Having said these, please try the first approach. If its working fine, you can go ahead. You can think about the second one later, if required.
    Hope this helps.

  • Input enabled column to enter text in query

    Hi All,
    I need to create a query which has an input enabled column where user can enter text up to 250 characters. Is this possible only using aggregation level? Is it possible to declare a characteristic to show up as a column and input enabled? I am thinking only key figures can be input enabled and they can accept only numbers but not characters.
    I am new to BI Planning concept. Please let me know the best solution for my requirement.
    Thanks in Advance!
    Sonali.

    Hi,
    Please take a look in the following thread.
    Re: Input Ready query text field
    Hope this helps.

  • Csv input adapter - read rows with different # of columns

    I have a csv file which includes rows with different number of columns. I want to read all the rows( of different # of cols)  into ONE stream only and then split into separate streams afterwards.
    I saw that CSV File Input Adapter does not add missing columns with nulls by default. Is it possible somehow? How can I generate a workaround?
    Thanks.

    Hello,
    The CSV Input Adapter expects to find a fixed number of fields.  If you attach the input adapter to a stream/window with 3 fields, it will always try to read three fields.  You can have missing data and this will be read into a column as a NULL value but the delimiters must still be there.  For example:
    1,1,1
    2,2,2
    3,3,3
    4,,4
    5,5,5
    CREATE INPUT WINDOW inWindow SCHEMA (c1 integer, c2 integer, c3 integer) PRIMARY KEY (c1);
    ATTACH INPUT ADAPTER File_Hadoop_CSV_Input2 TYPE toolkit_file_csv_input TO inWindow PROPERTIES csvExpectStreamNameOpcode = FALSE ,
      dir = 'c:/temp' ,
      file = 'test.csv' ,
      csvDelimiter = ',' ;
    A workaround you might consider is reading an entire line from your file into a stream with a single string column.  The trick is that you have to choose a character for the column delimiter that you are certain will never show up in your data.  Than once you have read that line into a stream, you can use the string functions to parse out the columns as needed:
    CREATE INPUT STREAM csv_instream SCHEMA (
      log_line_message string
    // Choose a character that is certain to never show up in the data in order to read the entire line
    // from the CSV file into a single column
    ATTACH INPUT ADAPTER File_Hadoop_CSV_Input1 TYPE toolkit_file_csv_input TO csv_instream PROPERTIES
      csvExpectStreamNameOpcode = FALSE ,
      dir = 'C:/temp' ,
      file = 'error_log' ,
      csvDelimiter = '@' ;
    // Parse out the individual columns
    CREATE OUTPUT STREAM csv_outstream SCHEMA (
      log_datetime timestamp ,
      debug_level string ,
      host string ,
      message string ) AS SELECT
      to_timestamp(substr(CI.log_line_message, 1, 24), 'DY MON DD HH24:MI:SS YYYY') as log_datetime,
      substr(CI.log_line_message, patindex(CI.log_line_message, '[', 2)+1, (patindex(CI.log_line_message, ']', 2) - patindex(CI.log_line_message, '[', 2))-1) AS debug_level,
      replace(substr(CI.log_line_message, patindex(CI.log_line_message, '[', 3)+1, (patindex(CI.log_line_message, ']', 3) - patindex(CI.log_line_message, '[', 3))-1), 'client ', '') AS host,
      substr(CI.log_line_message, patindex(CI.log_line_message, ']', 3)+1, 500) AS message
      FROM csv_instream CI
      WHERE CI.log_line_message IS NOT NULL;
    Thanks,
    Neal

  • Grouping and input columns ALV

    HI ,
    my requirement is to group  the  columns   that have same value  in my ALV (  like fonction sort/subtotal in standard ALV) and have other input  coloums in my ALV .
    I observe that groupement don't work if  have one of columns as input  .
    have you any idea to have on the same time  grouping fonction and  other  iput columns , on my ALV grid
    thanks

    There is a layout property cell_merge in ALV layout. You can try with that. But not sure whether it works with a editable column.
    Kesav

  • Auto input filename/extension to column

    Hi,
    Been trying to do this.
    File Location : C:\test.txt Browse Button
    File Name :test.txt
    I have a file location column, whereby i click the browse button to select the file i want to save. The fille location and file name/extension
    will be automatically input in to the column.
    I have another column callled file name , which i manually enter the file name/extension shown in file location column.
    How can I make this column automatically input the file name/extension from file location column instead of manually typing it in?Can this be done?
    Thanks in advance.

    You can export the data form the PDF using the FormDataIntegration service.
    Once you have the data in xml format, you can use a setValue and concatenate the value of the two nodes you're interested in.
    Jasmin

  • Check all checkboxes in a column of a tabular form

    Hi,
    I think this can be useful for some people.. I have a tabular form with several columns containing checkboxes. I wanted to be able to check or uncheck a whole column. The problem is that I didn't find a function to do this. So I modified (and renamed) the $f_CheckFirstColumn(pNd) function.
    In "edit page > JavaScript Function and Global Variable Declaration", add this :
    function $f_CheckNthColumn(c,n){
         var e=$x_UpTill(c,"TABLE");
         for(var d=0,a=e.rows.length;d<a;d++){
              var b=$x_FormItems(e.rows[d],"CHECKBOX")[n];
              if(b){
                   if(b.checked != c.checked) {
                        b.click();
         return;
    }EDIT : The status of the checkboxes checked with the function below is not passed when submitting the form (it is passed when clicking on every checkbox). This is why I had to use the click() function (so that onClick is triggered).
    --function $f_CheckNthColumn(c,n){
         var e=$x_UpTill(c,"TABLE");
         var f=[];
         for(var d=0,a=e.rows.length;d<a;d++){
              var b=$x_FormItems(e.rows[d],"CHECKBOX")[n];
              if(b){
                   f[f.length]=b;
         $f_CheckAll(false,c.checked,f);
         return f;
    And in the report column header :
    <input type="checkbox" onClick="$f_CheckNthColumn(this, NUMBER);" />NUMBER being the column number (1st column containing checkboxes = 0, 2nd column containing checkboxes = 1, etc.)
    I'm using APEX 4.1.1.00.23, so I can not guarantee It'll work on other versions.
    Hope this can help !
    Edited by: ben0123 on Jul 13, 2012 12:12 AM
    Edited by: ben0123 on Jul 13, 2012 1:17 AM

    Glad it helped :)
    If you have only one checkbox that is conditional, you could change the $f_CheckNthColumn function by adding this kind of condition :
    if ($x_FormItems(e.rows[d],"CHECKBOX").length == max_number_of_checkboxes || n < position_of_conditional_checkbox) toggle checkbox(n); // all the checkboxes are displayed, or the nth checkbox is before the conditional checkbox
    else // one (or more?) checkbox is missing
      if (n == position_of_conditional_checkbox) do nothing;
      else toggle checkbox(n-1);

  • How to get the values from the input field of a table

    Hello Friends
    I am having table having one column as InputField and rest are the textview fields
    I input the data and click the button that will add them to a node.
    But what is happening is it is adding the current value to all the fields replacing other filelds.
    Like suppose I am having 3 rows
    In column I input 10
    In column 2 input 20
    In column 3 input 30
    Now it is setting the value 30 to all the 3 fields.
    Can any one tell me the code to set 10, 20 and 30 as different value in a node as entered by me.
    Thanks

    Hi
    i am your scernario as follows
    Context
    TN_node (value node of cardinality 0:N)
                 val1 (value attribute under value node)
                 val2 (value attribute under value node)          
    i have binded Tn_node to table and val1 is textview and val2 is inputfield
    public void wdDoInit()
        //@@begin wdDoInit()
        for(int i=0;i<5;i++)
        IPrivateTestView.ITN_nodeElement ele=wdContext.nodeTN_node().createTN_nodeElement();
        wdContext.nodeTN_node().addElement(ele);
        ele.setVa1("val"+i);
        //@@end
    i have a button go in which printing all the values
    public void onActionGo(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionGo(ServerEvent)
        for(int j=0;j<wdContext.nodeTN_node().size();j++)
        //IPrivateTestView.ITN_nodeElement
        IPrivateTestView.ITN_nodeElement ele=wdContext.nodeTN_node().getTN_nodeElementAt(j);
    wdComponentAPI.getMessageManager().reportSuccess("-----"+ele.getVa1());
    wdComponentAPI.getMessageManager().reportSuccess("-----"+ele.getVa2());
    Hope this helps,
    If your problem is not solved please post your code like this
    Thanks and Regards,
    Arun

  • How can I modify column width in a spreadsheet report without using an Excel template

    I currently use the LabVIEW Report Generation toolkit in LabVIEW 2011SP1 to create simple spreadsheet reports that I can build/print without having Microsoft Office products installed.  I really like being able to do this, and it allows me to generate nice on-demand data reports - I'm also not tied to having Office installed on the system I'm using, so this works on just about any test fixture I can install the software on.  
    I recently have a requirement that I must have variable-length columns in my report.  I currently use the VI "Append Text Table to Report" in order to create a text table, but the column width requirement is that all columns must be equal width UNLESS I use an Excel Template file to define my column widths.  
    My questions are:
    Is it possible to create a text table and define per-column widths without using an Excel Template?  If so, how?  My report mainly has a lot of small numerical values for the columns, but some columns contain system names or status messages - I really hate the longer text blocks wrapping and taking up so much real-estate when if I could control the column widths I can get all my data on a single line.
    I'll admit I haven't tried this myself yet, but if I use an Excel Template will that require me to have Excel installed on the PC in order to print/generate reports?
    Is there a recommended way (with an example) of generating a text table in a report with or without using the "Append Text Table to Report" VI that allows me to have custom column widths that doesn't require me to manually build a custom print page?  If I do have to create a custom print page, what would be the most straightforward approach?
    Thanks!
    -Danny

    Sure, I'll provide a pared down example that demonstrates my use-case:
    I have a control to the VI that takes in a 2D array of strings representing the data I want printed in a table.  I am generating a standard report, adding a table to the report, and printing it.  The first VI is "New Report.vi", the second VI is "Append Table to Report.vi", and the third is "Print Report.vi", all found standard in the Report Generation palette.
    Note that the "Append Table to Report.vi" has an input parameter "Column Width" with a default value of (1).  This input parameter is a single input parameter, which defines the column widths of ALL the columns in my table - hence, with the VI the way it is, all my columns will be 1 inch wide.  
    I find myself needing to be able to define per-column widths, not just a single global column width parameter.  
    The only way I have found to do this is by using an Excel template file.  The "New Report.vi" takes in a "template" parameter, and if used, the report generation toolkit can be set to ignore the "Column Width" input parameter on the "Append Table to Report.vi" by setting the width value to -1.  Instead it will launch Excel, open the template file provided, build the table using the template, will close Excel, and will attach the generated table to the report.  However, I have a strict requirement that Microsoft Office NOT be required to be installed on the computer.  
    So, without using Excel, is there a way to generate a table in a report and define the width of each column individually?
    -Danny

  • How to update all the record for a particular column in a table based on search criteria.

    Hi All,
    I am new to ADF. I have a requirement, where i have to perform mass update on a table.
    Scenario:
    Ex: I have a dept manual search region. where i search with deptId: 20. I get 20 records in my table. now i have  another region where i have a inputchoice list which contains all the columns names that exists in dept table. Beside that i have a input text box and an update button
    Now user, first searches with dept id:20 and clicks on search button, where it shows 20 record in the table. He then select a column from input choicelist(ex: ManagerId), then enters new value in the input box(ex: abc) then clicks on update button.
    Now i want, all the records in the ManagerId column with dept id:20 to be updated with the new value "abc"
    Can anyone help me with the code.
    Thanks in advance..

    Hi,
    If you go to your VO and generate the ViewObjectImpl, in there you can create a method which will contain two parameters, 1 the attribute name and 2 the value.
    Then you can follow something like explained in this post:
    ADF Tutorial: How to apply bulk actions to a view object rows
    The only difference is that you will need to create a method like this:
    public void updateAttribute(String attribute, Integer value){
            RowSetIterator iter = createRowSetIterator(null);
            while (iter.hasNext()){
                Row row = iter.next();
                row.setAttribute(attribute, value);
    Then you expose that as a client interface and then after you filter your table by your criteria you just need to execute this method passing the right parameters.
    Regards

Maybe you are looking for

  • Error could not build a topology to decode the input file

    682593 (3088) - exe\logging.cpp:0841: --- START 2014\11\4 5:38:34 AM --- 682593 (3088) - exe\main.cpp:4511: WinSAT registry node is created or present 682609 (3088) - exe\main.cpp:4542: Command Line = winsat  formal 682625 (3088) - exe\main.cpp:4314:

  • Browser showing all the outside of the artboard stuff

    Hi guys, Just wanted to ask why the browser shows all the outside-of -the -artboard stuff I cut off in Photoshop? How to get rid of it? I cut off all the unnecesary things in Photoshop but Catalyst is showing that, and when I hit Cmnd Return so does

  • Cannot import contacts in CSV format

    hi all, When i updated my firmware on nokia e 71 i saved my messages to my pc using nokia messaging center as csv format.After upgradation when i tried to take it back the import option was disabled. I can do only export or what ?. Can anyone help me

  • CS3 Photoshop Does Not See Scanner

    I am running 10.7.5 Intel Core i5. Before I zapped my PRAM, I used to be able to go to> Import and choose EPSON Perfection V33/V330- and now I get a message that says: CS3 Photoshop -- Could not complete the import command because there is no scanner

  • Managing badges on 10.7.5

    Hello! I've got an older MacBook laptop, and am running the highest I can go on the iOS which is 10.7.5.  I've got badges showing up on my tray icons, i.e., Mail shows a 3 on it's upper right corner.  However, I don't have 3 emails waiting for me the