adding data lines and multiple columns with a form
I need to add multiple data rows and columns to a database using a form online and don't know what would be the best method of data entry and of insertion.The data should look like this:
COLUMN1 COLUMN2
var1, var1
var2 var2
var3 var3
etc...
When you create the form do I create individual text fields for each var or would it be better to have a text field where they list the data. I don't know where to start.
Any advice would be great.
You can use line numbers in your domain names to associate the columns for a particular record. For example, suppose you want 5 rows enter the last names and first names:
This will give you a series of areas such as lname1, lname2, fname2, $fname1, etc. In your form, you can also include a hidden field to indicate the number of lines. When you process the form, you loop again to insert each line:
First name:
First name:
INSERT INTO mytable (name, first name)
VALUES ("#Form ["lname"& onerow] #") ',' #Form ["Pnom" & onerow] #')
Tags: ColdFusion
Similar Questions
-
DVD burning problem: I burn the movie on widescreen PAL on a DVD-R disc. I managed it burned without menu. I have now added a "Pan and Zoom" menu with a main marker at 00:00:00:00, 21 scene markers and a cleat to 01:29:32:17 (the end of the film). The combustion is interrupted with a message to watch a C:\Users\ianle_000\Documents\20151206160446.iso file. There is no file. The message also provides a link for an explanation. This Web page is impossible to obtain. I'm running on a PC with Windows 8.1.
Thank you once again. I burned the DVD!
It is the first film for which I have reached the stage of burning. I'm not sure why she didn't in the first place. I tried to burn the "no menu" version, but at the time, was shot the DVD itself - I wonder when he reached this point?
So, I burned the "no menu" version to another DVD, that worked, then the version of menu, with no cleat to a third DVD, which reads perfectly.
Now that I have a successful routine, I'll stick to it.
Thanks for all your help.
I'll close this discussion now.
-
I need to draw a shape irregular, closed, which is a series of joined lines and fill it with the color, etc., I can only see square, polygon, etc...
Any suggestions?
You can set the polygon tool to 3 sides, or use the pen tool.
-
Property of lines and columns with different forms of data
I have a form of planning data. I have a dimension of row and another in the column. The dimension of the column has the property of percent (%) and the column of the row has the property of Dollar value ($). How the value of the cell appear? What will be the property of cell?I'm glad you asked that :) I started to write articles a few days back, this is the first post of my blog, you can take a look, could help you. I actually needed a few more days to post some more before I make it public... but anyway... voila... !!
http://blogs.Oracle.com/HyperionPlanning/entry/evaluation_orderSee you soon... !!!
-
Hello
How to add a control (digital button, boolean) dynamically in control instead of lines and columns selected. Please suggest the idea or no matter what example code you have please share with me...
Thank you
Vieu
Essentially, that's what you're looking for:
Please note that you have to account border sizes and the label of the control so that the code does not work right out of the box. You should also check for the height and width of column and if the position is valid at all before moving around the control.
Norbert
-
pivot - data line to the columns to condition
create table t_a (identification number);
insert into t_a values (1);
insert into t_a values (2);
insert into t_a values (3);
insert into t_a values (4);
insert into t_a values (5);
create table t_b (identification number, name varchar2 (100), val varchar2 (100));
insert into t_b values (1, 'A', 'Yahoo');
insert into t_b values (1, 'B', 'BBB');
insert into t_b values (1, 'C', 'CCC');
insert into t_b values (1,'d ","DDDD"");
insert into t_b values (2, 'A', ' 2 Yahoo' ");
insert into t_b values (2, 'B', 'FD');
insert into t_b values (4, 'C', 'test');
insert into t_b values (5, 'A', 'Yahoo 5');
I could only get the list of IDS of t_a column and table name with the values 'A' and 'B' columns can
result must be-
ID | A | B
1. Yahoo | BBB
2. Yahoo 2 | FDS
3.
4.
5. Yahoo 5 |
Thanks in advanceHello
Of course, you can do it.
Outer-sign up for t_a, to ensure that all the 5s IDs appear:SELECT t_a.id , MAX (CASE WHEN t_b.name = 'A' THEN t_b.val END) AS a , MAX (CASE WHEN t_b.name = 'B' THEN t_b.val END) AS b FROM t_a LEFT OUTER JOIN t_b ON t_a.id = t_b.id GROUP BY t_a.id ORDER BY t_a.id;
Thanks for posting the sample data: which helps a lot!
You may have noticed that this site compresses the spaces by default. When you want to post something where the spacing is important (like your results), and then type the 6 characters:
{code}
(small letters only, inside curly braces) before and after the section of text formatted to preserve spacing. -
Hello Apex Experts,
When the user clicks on the button 'Add Row' a tabular presentation, I would like the new line to be at the top of the report rather than the bottom.
I followed the instructions from and Denes Kubicek demo application. But it does nothing, always create new bottom line.
Anyone have an idea or an idea?
Your help would be appreciated.
Kind regards
Blabla
Hi all
This problem is now solved by following the new blogpost of Dene:
http://www.deneskubicek.blogspot.de/2015/05/tabular-form-add-rows-top-universal.html
Kind regards
Blabla
-
Insert current date/time and user name in the form.
My apologies for the newbie question.
I have a form that is based on the customer table, in the table, I username and modifiedDate columns. How can I fill out these text fields with the user and the current date and time?
Thank you.Create a PL/SQL process page page YOU load - after the header and block PL/SQL, write
APP_USER select:, To_char (SYSDATE, "MON-DD-YYYY HH24:MI:SS)
IN: PX_USER_NAME: PX_DATE
Double;where PX_USER_NAME and PX_DATE are page elements.
Thank you
MehabubPublished by: Sheikh Mehabub on August 23, 2012 07:00
-
Trying to create a Section to multiple columns with Sections of the single column before and after
Is there a way to create a section break that is not default to a new page after I created columns on a page. I created the columns and under them, I want to return to the normal formatting for the rest of the single page. See picture attached.
Any rejection of Pages v5 has a break of presentation which was present in the Pages ' 09 v4.3. This will allow you to transition to several columns and back to single column on the same page. In the v5 Pages, you can insert 3 text boxes and change the 3-column layout in the Middle text box. You use the toolbar item Insert to inject column breaks when you want to start a new list in the next column. I'll show this screenshot below.
You can fake your layout in Pages v5 using 3 text boxes and setting 3 columns in the Central text area. Better to show the mode of provision for this and in a text box, the column outlines are not displayed. After each column list, you then choose column break the Insert point toolbar menu to move to the next column, add a list, repeat. Each column will expand downwards. Click on the following to enlarge.
Pages ' 09 v4.3 using layout breaks Pages using 3 text boxes V5.6.1
-
UPDATE multiple columns with conditional parameters
I have a procedure that updates several columns of a table using the parameter of the procedure. Is it possible to have a update unique with the parameter SET conditional statement?
Is it possible to replace several IFs code to have only one UPDATE statement with the condition that update the column only if the parameter passed is not null? In the real world scenario, I have more than 3 columns and I do not want to write lots of IF blocks.CREATE TABLE TEMP (POL_NUM NUMBER, OED DATE, TERM NUMBER, TRANS_CD CHAR(2)); INSERT INTO TEMP VALUES (1, '1 AUG 2009', 12, 'NB'); INSERT INTO TEMP VALUES (2, '4 AUG 2009', 12, 'XL'); INSERT INTO TEMP VALUES (3, '2 AUG 2009', 12, 'RN'); COMMIT; CREATE OR REPLACE PROCEDURE TMP_PROC ( pPOL_NUM NUMBER, pOED IN DATE, pTERM IN NUMBER, pTRANS_CD CHAR2) AS BEGIN IF pOED IS NOT NULL THEN UPDATE TEMP SET OED = pOED WHERE POL_NUM = pPOL_NUM; END IF; IF pTERM IS NOT NULL THEN UPDATE TEMP SET TERM = pTERM WHERE POL_NUM = pPOL_NUM; END IF; IF pTRAN_CD IS NOT NULL THEN UPDATE TEMP SET TRANS_CD = pTRANS_CD WHERE POL_NUM = pPOL_NUM; END IF; COMMIT; EXCEPTION WHEN OTHERS THEN NULL; END;
Please help gurus!
Published by: Kuul13 on September 18, 2009 13:26Hello
Maybe this,.
Create OR Replace Procedure TMP_PROC( pPOL_NUM IN Number , pOED IN Date , pTERM IN Number , pTRANS_CD IN Varchar2 ) As Begin UPDATE TEMP SET OED = NVL(POED , OED ) , TERM = NVL(PTERM , TERM ) , TRANS_CD = NVL(PTRANS_CD, TRANS_CD ) WHERE POL_NUM = PPOL_NUM; Commit; Exception When Others Then Null; End;
Kind regards
Christian Balz -
Update multiple columns with case
I have this and I wanted to have it in a single update to the case when then etc. Anyone?
UPDATE TABLE_NAME
SET CIITM_ITEM_RATE = 9
WHERE CIITM_APPLICATION = 7 AND CIITM_ITEM_RATE = 11 AND CIITM_CODE = 2;
--8288 lines are updated.
UPDATE TABLE_NAME
SET CIITM_ITEM_RATE = 9, CIITM_NUMIT = 2
WHERE CIITM_APPLICATION = 7 AND CIITM_ITEM_RATE = 12 AND CIITM_CODE = 2;
-513 lines to date.
UPDATE TABLE_NAME
SET CIITM_ITEM_RATE = 9, CIITM_NUMIT = 3
WHERE CIITM_APPLICATION = 7 AND CIITM_ITEM_RATE = 13 AND CIITM_CODE = 2;
-39 lines to date.
UPDATE TABLE_NAME
SET CIITM_ITEM_RATE = 9, CIITM_NUMIT = 4
WHERE CIITM_APPLICATION = 7 AND CIITM_ITEM_RATE = 14 AND CIITM_CODE = 2;
-15 updated lines to date.
UPDATE TABLE_NAME
SET CIITM_ITEM_RATE = 9, CIITM_NUMIT = 5
WHERE CIITM_APPLICATION = 7 AND CIITM_ITEM_RATE = 15 AND CIITM_CODE = 2;
-5 lines to date.
UPDATE TABLE_NAME
SET CIITM_ITEM_RATE = 9, CIITM_NUMIT = 6
WHERE CIITM_APPLICATION = 7 AND CIITM_ITEM_RATE = 16 AND CIITM_CODE = 2;
-4 lines to date.
UPDATE TABLE_NAME
SET CIITM_ITEM_RATE = 9, CIITM_NUMIT = 7
WHERE CIITM_APPLICATION = 7 AND CIITM_ITEM_RATE = 17 AND CIITM_CODE = 2;
UPDATE TABLE_NAME
SET CIITM_ITEM_RATE = 9,
CIITM_NUMIT = CASE CIITM_ITEM_RATE
11. WHEN CAN CIITM_NUMIT
OF OTHER CIITM_ITEM_RATE - 10
END
WHERE CIITM_APPLICATION = 7
AND CIITM_ITEM_RATE BETWEEN 11 AND 17
AND CIITM_CODE = 2;
SY.
-
The display of a single line to multiple columns
Hello Oracle gurus,
I am fairly new to the SQL development and hope that someone could help me
I have an ID that repeated several times in 3 different tables based on a condition
For your convenience, you can go
Select a.id,
B.SID,
case when b.state = 1 then 'K' another thing ' n end.
case when c.city = 2 then 'K' another thing ' n end
PRIM one
outer join STATE b left on a.id = b.id
outer join CITY c left on a.id = c.id
Results
ID NAME STATE CITY
1 Peter K N
1 Peter N K
Stewie 2 K N
2 Stewie N K
An additional line is coming because of Peter, his State Y and Y for the city.
Expected results
ID NAME STATE CITY
1 Peter K K
Stewie 2 N N
How can I achieve this? I think I can do a union. but my actual query made 140 columns. so, I'm curious to know if there is another way to address the issue?
Is it possible to use separate?
Thanks in advance.What about
select a.elig_id, max(case when b.part_supp_id= 2 then 'Y' else 'N' end) as A, max(case when b.part_supp_id=21 then 'Y' else 'N' end) as B from Elig_Test a ,Elig_Suppr b where a.elig_id=b.object_id group by a.elig_id
-
Hyperion Planning 11.1.2 formula line and a column formula
Why we use the row and column of formulas formula in Hyperion Planning 11.1.2?
After you have entered the value we need to refresh the page so that the value changes in the formula of row/column.You use so you can create your own custom formulas.
The form must be submitted if you change the data and you want the results of the formulas to update.See you soon
John
http://John-Goodwin.blogspot.com/ -
Problems updating multiple columns with a TO... SELECT subquery
Hello
This statement works very well:
UPDATE scott.dept
SET (deptno) = (WITH AS gaga
(SELECT 1
THE DOUBLE)
SELECT DeptNo
GAGA)
/
The second statement gives an error ORA-01767: UPDATE... GAME expression must be a subquery:
UPDATE scott.dept
SET (deptno, dname) = (WITH AS gaga
(SELECT 1,
'CHANGED '.
THE DOUBLE)
SELECT deptno,
DNAME
GAGA)
/
What's wrong? Is this a limitation of Oracle 9i?
Thank you
HeinzHello
It is not fair to Oracle 9; I get the same error in Oracle 11.
Use MERGE instead of UPDATE. (Sorry, I do not have Oracle 9, so I can't test that it works there, but WITH works MERGE in Oracle 10 and 11; no hide or workaround is necessary).If you want to use the UPDATE and you really need to use a WITH clause (and, of course, you don't have in this simple example), you can hide the WITH clause in a view in line, like this:
UPDATE scott.dept SET ( deptno, dname ) = ( SELECT * FROM ( WITH gaga AS ( SELECT 1, ... ) ... ) ) ;
-
Hi, we just got router ISR4331. We will use this router to our datacenter as pummel hub. Not to mention that it will be the static IP address. Our goal is to connect 30 small offices to the Datacenter by VPN site-to-site. All of our offices a RV042 router and DSL connection, so dynamic public IP. How to accomplish this task. Before the VPN connection is stable and the need not to configure tunnels frequently.
Thank you
GM
Hello
Please check the config below:
HUBS:
crypto ISAKMP policy 1
BA 3desmd5 hashpreshared authenticationGroup 2life 86400crypto isakmp secretkey key address 0.0.0.0 0.0.0.0 (Having said that the dynamic router HUB remote routers have public ip address)Describe your valuable traffic. Note that I have sepcified for both tunnels, but basically, it will be the same for the rest out for the destination. For example, I used 192.168.1.0/24 and 192.168.2.0/24. You will need to replace it with your existing installation.TUN1 extended IP access listip permit 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255TUN2 extended IP access listip permit 192.168.1.0 0.0.0.255 192.168.3.0 0.0.0.255Create your strategy to Phase 2Crypto ipsec transform-set esp-3des esp-md5-hmac TScard crypto S2STUN 1-isakmp dynamic ipsec HUB_TUNcrypto dynamic-map HUB_TUN 1086400 seconds, life of security association setgame of transformation-TSmatch address TUN1!crypto dynamic-map HUB_TUN 1186400 seconds, life of security association setgame of transformation-TSmatch address TUN2Now apply the card encryption to your WAN interfacegi0/1 interfacecard crypto S2STUNNow configure on your remote routersRemote router 1crypto ISAKMP policy 1
BA 3desmd5 hashpreshared authenticationGroup 2life 86400!ISAKMP crypto secretkey key address x.x.x.x (replace with your public ip address of the HUB)!TUNNEL TRAFFIC extended IP access listpermit ip 192.168.2.0 0.0.0.255 192.168.1.0 0.0.0.255!Crypto ipsec transform-set esp-3des esp-md5-hmac TS!crypto card TUN_TO_HUB 10 ipsec-isakmpdefined peer x.x.x.x (replace with your public ip address of the hub)game of transformation-TSmatch address TRAFFIC TUNNEL
!gi0/1 interfacecard crypto TUN_TO_HUBRemote router 2crypto ISAKMP policy 1
BA 3desmd5 hashpreshared authenticationGroup 2life 86400!ISAKMP crypto secretkey key address x.x.x.x (replace with your public ip address of the HUB)!TUNNEL TRAFFIC extended IP access listip licensing 192.168.3.0 0.0.0.255 192.168.1.0 0.0.0.255!Crypto ipsec transform-set esp-3des esp-md5-hmac TS!crypto card TUN_TO_HUB 10 ipsec-isakmpdefined peer x.x.x.x (replace with your public ip address of the hub)game of transformation-TSmatch address TRAFFIC TUNNEL
!gi0/1 interfacecard crypto TUN_TO_HUBHTH.Evaluate the useful ticket.Kind regardsTerence
Maybe you are looking for
-
My iMac will not close since the last update
Since the last update for El Capitan, my iMac does not stop and I hold the power button so he can close. Has anyone else had this problem? I'm nervous to download the update on my Macbook pro in case the same thing happens. Also has anyone had a solu
-
XNET - activation of the RPC Server - error
Hello I am trying to load XNet database on my RT goal and now I get the error using the Xnet API. Running multiple remote database manager XNet vi doesn't help not either as it is still stuck with the error and no waiting period. I can connect to my
-
I don't know how to change the colors of fonts on my new computer hp laptop pavilion. I want to customize it, but I don't know how. I have tried and cannot understand it.
-
How to set up another user account?
I want to set up another user account.
-
Hey guys I have a problem with HTML5 video. If the video is set to autorun, it is in its very well designated area. However, if it is not set to auto-run and I have trigger play via JavaScript, it opens the video fullscreen. This is not my expectatio