How to create two columns of data?
I am a dynamic form and I want my data to appear in two columns. At this moment I have a container subform text value flowed and the West. It contains two subforms instructions and tools side by side. As follows:
The problem is when the data is sent, the instructions are first of all if they are in a column on the left side. Once the instructions are completed, the tools are in a column on the right side. Like this:
instruction
instruction
instruction
instruction
tool
tool
tool
tool
How can I get to shoot at the same time, in two columns-by-side?
Use a table like the one I showed in my example for you. In fact, you can simply use this form, import your XML code example into a data connection then simply bind the fields and the data together.
Paul
Tags: Adobe LiveCycle
Similar Questions
-
How to read the two columns of data in a file of PDM.
Hi all
I am reading two data columns for the 2nd of a PDM file two sheets, as shown below.
Two columns of data must then be shared so they can be displayed in a xy chart and also apply a linear adjustment VI. I implemented the graph xy and linear adjustment using a txt file (see below), therefore all the outputs work, however this application with a tdms file turns a little more tax.
So, essentially, that I don't know how read the correct leaf and therefore the columns in the PDM file and then how to produce the graph xy and linear adjustment of the data types produce. Here's my current attempt, which produces several errors of the type of terminal, as well as not being able to select the exact data in the PDM.
Any help/suggestions/example vi on this asap would be greatly appreciated.
Thanks in advance,
Pete
Also the PDM file viewer. VI helps you easily understand the structure of data files.
-
How to read the two columns of data from the Port series
Hello
I'm reading two columns of data from the serial port.
Example:
52439 52430
52440 52437
52209 52214
51065 51070
52206 52390
I use the serial of Visa service and I can read the first column of data from the serial port, but I can't understand how to read the second column.
I want to both sets of chart data.
I enclose my VI.
Thank you for your help.
The analysis of string function takes a "Format string" on top (with the right button of the function and choose Help, which explains all the entries). In particular, you can say 'Give me two numbers separated by a tab' and the output will be two numbers (whole or floating, depending on the chosen format). In particular, %d\t%d specifies a decimal integer,
, whole decimal. -
Oracle how to multiply two columns of different tables and results
Oracle how to multiply two columns of different tables and get the result in the third column?
I want to multiply all the lines of the quantinty column in the table of quantity with the relevant lines of the table of prices price column and get the result of multiplying in the third column. What should I use procedure trigerr? OR IS IT POSSIBLE HOW TO DO IT PLEASE HELP :D
Edited by: 994229 2013-03-15 12:44/* Formatted on 3/15/2013 3:51:08 PM (QP5 v5.185.11230.41888) */ CREATE TABLE mytable1 AS (SELECT 1 id, 5 VALUE FROM DUAL UNION ALL SELECT 2, 7 FROM DUAL UNION ALL SELECT 3, 8 FROM DUAL); CREATE TABLE mytable2 AS (SELECT 1 id, 4 VALUE FROM DUAL UNION ALL SELECT 2, 12 FROM DUAL UNION ALL SELECT 10, 12 FROM DUAL); SELECT id, mytable1.VALUE, mytable2.VALUE, mytable1.VALUE * mytable2.VALUE product FROM mytable1 FULL OUTER JOIN mytable2 USING (id) ORDER BY id;
ID VALUE VALUE_1 PRODUCT 1 5 4 20 2 7 12 84 3 8 10 12
-
Creating a column of date a year column and then conditional calculation
Hi here's my data:
I want to create a column, as shown below in the 30 - June:with Table_1 as ( select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year from dual union all select to_date('23-MAR-2010 12:12','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year from dual union all select to_date('25-JUL-2010 23:30','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year from dual union all select to_date('09-JAN-2010 08:30','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year from dual union all select to_date('08-JAN-2010 08:30','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year from dual union all select to_date('08-JAN-2011 20:30','DD-MON-YYYY HH24:MI') incident_date, 1960 Car_Year from dual union all select to_date('26-JUL-2010 00:00','DD-MON-YYYY HH24:MI') incident_datet, 2005 Car_Year from dual ) select * from Table_1
Once this is done, I would like to make a similar calculation to excels FRACTION function and the following results noting the STATE what the column Approx_car_age is > 50 I would like to as its default null value.with Table_1 as ( select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year, to_date('30-JUN-2005') Approx_car_year from dual union all select to_date('23-MAR-2010 12:12','DD-MON-YYYY HH24:MI') incident_date, 2008 Car_Year, to_date('30-JUN-2008') Approx_car_year from dual union all select to_date('25-JUL-2008 23:30','DD-MON-YYYY HH24:MI') incident_date, 2007 Car_Year, to_date('30-JUN-2007') Approx_car_year from dual union all select to_date('09-JAN-2005 08:30','DD-MON-YYYY HH24:MI') incident_date, 2004 Car_Year, to_date('30-JUN-2004') Approx_car_year from dual union all select to_date('08-JAN-2009 08:30','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year, to_date('30-JUN-2005') Approx_car_year from dual union all select to_date('08-AUG-2011 20:30','DD-MON-YYYY HH24:MI') incident_date, 1960 Car_Year, to_date('30-JUN-1960') Approx_car_year from dual union all select to_date('26-JUL-2010 00:00','DD-MON-YYYY HH24:MI') incident_datet, 2010 Car_Year, to_date('30-JUN-2010') Approx_car_year from dual ) select * from Table_1
I created two columns using an alter table statement that is Approx_car_year, Approx_car_age.with Table_1 as ( select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year, to_date('30-JUN-2005') Approx_car_year, '4.003285871' Approx_car_age from dual union all select to_date('23-MAR-2010 12:12','DD-MON-YYYY HH24:MI') incident_date, 2008 Car_Year, to_date('30-JUN-2008') Approx_car_year, '1.727189781' Approx_car_age from dual union all select to_date('25-JUL-2008 23:30','DD-MON-YYYY HH24:MI') incident_date, 2007 Car_Year, to_date('30-JUN-2007') Approx_car_year, '1.069767442' Approx_car_age from dual union all select to_date('09-JAN-2005 08:30','DD-MON-YYYY HH24:MI') incident_date, 2004 Car_Year, to_date('30-JUN-2004') Approx_car_year, '0.528767123' Approx_car_age from dual union all select to_date('08-JAN-2009 08:30','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year, to_date('30-JUN-2005') Approx_car_year, '3.526834611' Approx_car_age from dual union all select to_date('08-AUG-2011 20:30','DD-MON-YYYY HH24:MI') incident_date, 1960 Car_Year, to_date('30-JUN-1960') Approx_car_year, '' Approx_car_age from dual union all select to_date('26-JUL-2010 00:00','DD-MON-YYYY HH24:MI') incident_datet, 2010 Car_Year, to_date('30-JUN-2010') Approx_car_year, '0.071232877' Approx_car_age from dual ) select * from Table_1
On these columns, I will update the table SET Approx_car_age =... .etc
I do not require the Approx_car_year column so if there is a way to perform the calculation without it would be great.
Thank you much in advance.
Banner:
Oracle Database 11 g Release 11.2.0.2.0 - 64 bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production."
AMT for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - ProductionHello
This is the select query which will calculate the two columns you are looking for-
SQL> SQL> with Table_1 2 as 3 ( 4 select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year from dual 5 union all 6 select to_date('23-MAR-2010 12:12','DD-MON-YYYY HH24:MI') incident_date, 2008 Car_Year from dual 7 union all 8 select to_date('25-JUL-2008 23:30','DD-MON-YYYY HH24:MI') incident_date, 2007 Car_Year from dual 9 union all 10 select to_date('09-JAN-2005 08:30','DD-MON-YYYY HH24:MI') incident_date, 2004 Car_Year from dual 11 union all 12 select to_date('08-JAN-2009 08:30','DD-MON-YYYY HH24:MI') incident_date, 2005 Car_Year from dual 13 union all 14 select to_date('08-AUG-2011 20:30','DD-MON-YYYY HH24:MI') incident_date, 1960 Car_Year from dual 15 union all 16 select to_date('26-JUL-2010 00:00','DD-MON-YYYY HH24:MI') incident_datet, 2010 Car_Year from dual 17 ) 18 SELECT t.incident_date 19 ,t.car_year 20 ,t.approx_car_year 21 ,CASE 22 WHEN approx_car_age > 50 THEN 23 NULL 24 ELSE 25 approx_car_age 26 END approx_car_age 27 FROM (SELECT incident_date 28 ,car_year 29 ,to_date(car_year || '0630', 'YYYYMMDD') approx_car_year 30 ,(incident_date - to_date(car_year || '0630', 'YYYYMMDD')) / 365 approx_car_age 31 FROM table_1) t 32 / INCIDENT_DATE CAR_YEAR APPROX_CAR_YEAR APPROX_CAR_AGE ------------- ---------- --------------- -------------- 01-Jul-09 8:1 2005 30-Jun-05 4.007781582952 23-Mar-10 12: 2008 30-Jun-08 1.730159817351 25-Jul-08 11: 2007 30-Jun-07 1.073915525114 09-Jan-05 8:3 2004 30-Jun-04 0.529737442922 08-Jan-09 8:3 2005 30-Jun-05 3.529737442922 08-Aug-11 8:3 1960 30-Jun-60 26-Jul-10 2010 30-Jun-10 0.071232876712 7 rows selected SQL>
And you can if you want to use in the update statement (not tested) update statement.
UPDATE TABLE SET approx_car_year = to_date(car_year || '0630', 'YYYYMMDD') ,approx_car_age = CASE WHEN ((incident_date - to_date(car_year || '0630', 'YYYYMMDD')) / 365) > 50 THEN NULL ELSE ((incident_date - to_date(car_year || '0630', 'YYYYMMDD')) / 365) END WHEN approx_car_age > 50 THEN NULL ELSE approx_car_age END;
Please note that I am assuming that you also want to update approx_car_year table column. If this column is not present in the table or you don't want to update, then you can remove it from the update statement mentioned above.
I hope this helps.
-Gregory
-
Create two columns and floated in a footer
Hello everyone!
I'm a bit new to webcoding...
What I need help is to create two columns in a page footer section, with the floating attributes.
What I have tried is to add two div in the footer section, but when I specify to be floated in the footer, they end up BEING ABSENT.
Would REALLY appreciate your response and support!
Thank you and best what is the Sweden
Andreas
The problem is caused by floating children and the item container not self clearing floats.
Have a look at this article.
-
How to create a column width fixed in an interactive report 4 APEX?
This thread is a continuation of {message identifier: = 9191195}. Thank you fac586.
Partial success: the following code provided by fac586 limit the width of the column of the Apex 4 interactive report as long as the data in the column contains a white space in a browser Firefox 3.6:
< pre class = "jive-pre" >
< style type = "text/css" >
e #T_DESCRIPTION {}
Width: 300px;
}
TD [headers = "T_DESCRIPTION"] {}
Width: 300px;
dressing: break-Word;
}
< / style >
< / pre >
Notes:
1. the above code is placed in the HTML header for the page section.
2 T_DESCRIPTION is defined as VARCHAR2 (2000).
3. the above code works in Firefox 3.6.12 browser but does not work in the browser Internet Explorer 7.0.5730.13.
I tried to add "float: left;":
< pre class = "jive-pre" >
< style type = "text/css" >
e #T_DESCRIPTION {}
Width: 300px;
}
TD [headers = "T_DESCRIPTION"] {}
Width: 300px;
dressing: break-Word;
< font color = "red" > float: left; < / police >
}
< / style >
< / pre >
Notes:
1 "float: left;" requires no white space and successfully splits the column between the characters instead of whitespace.
2. "float: left;" reduces the height of the cell and allows the page to show through... could not determine how to solve this fundamental problem.
3. the above code works in Firefox 3.6.12 browser but does not work in the browser Internet Explorer 7.0.5730.13.
I've did some more research, but I've yet to discover how to create a fixed-width column in an interactive APEX 4 report that displays correctly in Internet Explorer 7 browser.
Ideas and help will be appreciated.what theme are you using?
A customized version of the 15 theme.
You said you were using APEX 4.0, if I was testing on 4.0, but using one of its new themes based on the standards. 15 theme is a theme of legacy from older versions of APEX, mainly to ensure a certain level of support for the despised IE6 browser. The new themes are designed to restore mode standard and those inherited mode quirks (This is explained here). Firefox (and Safari, Opera and Chrome, and...) for your application, it's academic: all the required CSS: selectors attribute, the property max-width and dressing work in two modes.
Enter Microsoft. They decided that in IE7, backwards compatibility meant that new CSS features would be supported only in standard mode, even if they had never been implemented in older versions, with no previous, behavior that may break. Go figure. Yes, even so the dressing will work in quirks mode (no surprise - Microsoft invented), attribute selectors, and max-width only. The latter is bug in standard mode, so I tried using widthworkaround, but who has always used an attribute selector, which of course is ignored, there are no selectors of friendly quirks mode in uneditable Oracle IR of supplement.
The best 2 options are:
1. stop using IE.
2. use a theme based on standards.
Less satisfactory would be:
3. change your theme custom (or some of its pages) in standard mode (but it could break him other stuff).
4 throw some JavaScript to fix the problem (I'll sleep on this one).
-
How to save two sous-schema data two in one file?
Hello
I have a VI tensions from different measurement channels one after the other. How could save the average data two in one file in two columns? The vi is attached. Thank you!
Watch the context-sensitive help and help for function file writing worksheet to know each connector for then detailed. You have several things hanging and some things wrong.
The entrance to the lower part is a Boolean value to append data. You want it as a True constant since you want to write constantly new data in the file to each iteration of the loop.
You can't 1 d and 2D connectors at the same time hung. It is there to give you options. If the 1 d link has it who uses data, otherwise it uses the connector 2-D data.
What you want to do is to take the 3 pieces of data and integrate it to a 1 d table and that wire in the 1-D connector. Connector 2-D leave blank.
-
How to create the column of the table for long-form Master detail relationship
Apex 4.1
Oracle 11g
I created a form master detail and see the main table hotel_list and table hotel_mapping as detailed below.
Hotel_list
ID HOTEL_NAME
1 Holiday Inn
Hotel Hilton 2
Hotel_mapping
ID HOTEL_NAME MAPPING_NAME
1 Inn Holiday Inn Select hotel
2 holiday hotel Holiday Inn Select
3 hotel Holiday Inn Holiday Inn Hotel
4 Hilton Hotel Hilton Hotel chain
Hotel Hilton 5 HiltonHotel
Table Hotel_name Hotel_list is a linked table Hotel_mapping
When I add a line to the Hotel_mapping table for the selected row in the hotel_list table, mapping_name of column is null, therefore impossible to create the relationship between the main table and the secondary table.
I would like to know, how to create the relationship?
Thank you very much
Best regards
Yong Huang,
simple step see creating a form detailed master with APEX - Assistant Master retail
and check how to maintain the relationship between two tables,
simple return the packaged application «Sample of Masters details»
and try to understand this concept...
In your example, use Hotel_list.ID as a foreign key in the table Hotel_mapping
and maintain the relationship with the column ID...
and choose the display type of the column Hotel_list.ID in table Hotel_mapping as List(Query Based LOV) select.
otherwise the best way is to create sample on oracle.apex.com
I hope this helps...
Leave.
-
How to create a block of data to multiple tables
If I try to use the wizard to create a new block of data and I choose to create it on a table or a view, the wizard asks me for the table create the form on. But if I want to create a form with two tables for example to join them, how can I do? Do I have to create a view on the database (very bad for me!) before joining the wtho tables can create the form to this point of view, or is it possible to create a form in two or more tables?Mark,
Yes, you can base in fact of a block of shapes on a join of tables. Take a look at forms: how to build a block of data to a join of the table. You can also use a base query Clause From block. Basically, you base your block on a SQL statement. For more information on this option, take a look at forms: how to base a block on a FROM Clause query. Finally, you can also base your block on a procedure. This concept is illustrated in this article: forms: how a block of data based on a procedure.The fall down using one of these options, is that your block is not editable. If you need to update the data presented by these options, you should use the-Insert, triggers we set to and delete now write your own Insert/Update and Delete statements.
Hope this helps,
Craig B-)If someone useful or appropriate, please mark accordingly.
-
How to subtract two measures of date format?
Hello
I need to create the following report
DATE OF BOOK... ARRIVAL_DATE... LEAD_TIME... This is arrival_date-book_date
10 November 10... 15 November 10... 5
In the above example the enforcement timeframe should return 5.
How can achieve this, I get the error:
[nQSError: 10058] A general error occurred. [nQSError: 22023] An arithmetic operation is performed on a non-numeric type. (HY000)
SQL issued: SELECT "Business block Start Date. "' Start date ', 'Business block. "" Block ID ","Business block. "" Date of creation ","Business block. "' Start date '-'Business block. "" Created on "OF THE"Business block summary.
Tried to THROW the dates, Bud did not work either
Concerning
GiulianoUse the timetstampdiff function
TIMESTAMPDIFF (sql_tsi_day, DATE, ARRIVAL_DATE BOOK)
You cannot use Arithmetic operation on date columns.
Kind regards
Sandeep -
Hi friends
I have a requirement
I have a table with 4 columns in that two columns starttime and endtime
for Ex: starttime is 11/30/2010, 3:02:45 and endtime is 11/30/2010, 3:23:28
I want to add two condition is
(1) the starttime and endtime must be on the same date for EX: if the starttime is 30 means the end time must also be 30, but the duration may vary
(2) the endtime not null
How can I write a query for this
Please guide me
Thanks in advance
BeatriceTry this query
Select * from your_table
When trunc (starttime) = trunc (endtime)
and enddate is not null;
/ -
How to create two independent queries report and templates?
Hello
I have a requirement where I have to use two queries in the data model. Now, these queries are not related and I need to display the data of these two queries in my report. Can someone let me know how to do this?You can create two independent sql query (Q1, Q2) and put them in the data as a different group model
-
Validation of feature templates ADF - how to validate two columns using a query?
Hello
I'm trying to implement a validation for one of the fields in an ADF entity object. The logic is essentially as follows:
database has a table - TABLE1 with columns COL1 and COL2 - two columns also exist on the TABLE2.
When the user enters a value for create or update values TABLE1, before user could save I need to validate the following:
This combination column1 and column2 entry corresponds to a line of TABLE2. (basically, they must exist as a line of TABLE2).
I don't know how to do this with my current version of JDev (10.1.3.4), but I hope that it is possible.
Thanks in advance.You can write a validator method at EO level that uses a viewObject with two binding settings to find the specific row in the other table.
-
How to compare two columns in Xl
I want to compare two columns in the file of Xl. column A contains phrases and column B contains the words
For example
Column A Column B Column C
I have an Apple and I'll eat every day Apple Apple
I have a banana and eat weekly banana papaya
Oranges are rich in nutritions cauliflowers Oranges
Papaya is good for health Grapes Papaya
Oranges
Lichi
Banana
I want to check each value of column B in each cell in column A, and if it matches then it should return the corresponding value in the result to me. Column C should Look Like as shown above.
Can someone point me in the right direction here of what formula to use for this Xl.
Thank you
This is a forum for Mac OS X technologies, so here's an Applescript solution:
- Copy-paste the script in the Script Editor
- Select the cells in columns A and B
- Command + c to copy to the Clipboard
- Click on the button "run" in the Script Editor
- Click once in the top cell in column C where you want the data
- Command + v to paste
Here are the results:
There is no verification error here. You must select and copy to the Clipboard before the race.
SG
the value LstOfLsts to makeListOfLists (the Clipboard as a 'class utf8 ')
the value theSentences to getCol1Vals (LstOfLsts)
the value collected in getCol2Vals (LstOfLsts)
game of theMatches to «»
Repeat with I in collected items
If theSentences contains I then ¬
the value of theMatches to theMatches & i & return
end Repeat
Set the Clipboard for theMatches
to getCol1Vals (LofL)
game of col1Vals to «»
Repeat with en LofL points
the value col1Vals to the col1Vals & "" & i point 1
end Repeat
end getCol1Vals
to getCol2Vals (LofL)
the value col2Vals to {}
Repeat with en LofL points
If i's point 2 is not "" then ¬
i copy point 2 to the end of col2Vals
end Repeat
return col2Vals
end getCol2Vals
at makeListOfLists (theTxt)
value was to theTxt paragraphs
the value text point of delimiters
the value theListOfLists to {}
Repeat with I from 1 to count was
the value theListOfLists to the theListOfLists & {the was point i text elements}
end Repeat
the value point text delimiters to «»
return theListOfLists
end makeListOfLists
Maybe you are looking for
-
How can I enlarge the display of EACH email permanently?
I'm very nearsighted. I expand the display of the fonts non-parameter, but several wildcards affect their tiny size fonts in their email. Thus, the option does not apply and every morning I have to zoom in again and again. How can I request a bigger
-
The latest version of iMovie supports 30 frames per second?
I tried creating a simple slide show, but could not find a way to make 30 frames per second, with 60 being the default and automatic. Although it was several months ago but I remember not being able to find a way to select the 30 images (if this opti
-
Create several screws using a loop for
Hello I am still fairly new to LabVIEW, that this issue might be easy for you guys here... I'm going to simplify what I'm doing. I have two digital controllers who act as the rows and columns of a matrix. I would take those figures of these two contr
-
When I type p on my laptop it will appear * how do I solve this problem
When I type p on my laptop it will appear * how do I solve this problem
-
A "N" router will make a difference?
I have currently a cable modem and Linksys router Linksys Wireless 'G '. I have my desktop connected via ethernet to the router port, and I use the wireless router for an Acer laptop and a ROKU box, watch NetFlix streaming videos. As much as I fear,