Updated form when the table is updated
Hi experts,I am quite new to the apex, and I came across a problem. I created a table with 10 columns and that created a form/report.i need to update my table by adding new columns, but I can't get my updated report.
I have included the field in my sql query manually but tat doesn't seem to work.
is there anywhere I should change my form and report updated.your advice would be much appreciated. Thank you
Kevin
Hello
Normally, the report would just automatically update to include new columns - are typically placed at the end of the column list. If you change your report area and click the report attributes, see your new columns? If so, the Show check box is checked for them? If it isn't, check it. If you click the Edit next to a missing column, what 'view' is defined - is - this "Standard report column?"
Or, you use an interactive report? If so, you must run the page, click the Action icon and then choose "Select columns" and make sure that each column is listed on the right.
Andy
Tags: Database
Similar Questions
-
Form triggers the error when the table trigger fires.
Hi all!
Recently, I had to add a modification_date column to a table accessed in several forms.
In an effort to not modify these several forms, my initial effort was to add an insert/update trigger.
As you can guess, the trigger works as expected, but an error is triggered by each form to the effect that another user has made changes that require a re - interview.
Can anyone suggest an alternative method (short discount - I don't still want to send forms if possible)?
If I am forced to change the forms, SYNCHRONIZE will do?
Alternatively, do I change before insertion and prior update on each form?
Thank you!
Mike
MikeShannon wrote:
.. .my initial effort was to add a trigger for insert/updated to date...... As you can guess, the trigger works as expected, but an error is triggered by each form to the effect that another user has made changes that require a re - interview...
What trigger you added to your table? (Before insert/update; After insert/update?)
So, the "record error updated by another user" occurs after a change has been introduced and the user attempts to edit the record again - is that correct? From your description, it's when I 'think' you get the error. Could clarify you?
You could just refresh your block after validation, but this would require to change your forms - which is what you were trying to avoid. I don't think you'll be able to avoid modifing your forms.
Craig...
-
Format of the date when the table was created
Hi all
Is it possible to create the table with the specific date format: as I want to create table with the format date must be in the format "mmddyyy" or no matter what specific.
I am using oracle 11g
Thank you
Hello Abbas85,
not only the dates Oracle occupy only 7 bytes, but using DATES give some benefits, like:
-verification of the data: the system will not accept things like '44-JAN-2014' or 15 months,...
-date arithmetic: it's so easy and convenient to be able to do things like "date2 - date1", or "date 1 + x days!"
-l' effectiveness of the index: when stored as dates, Oracle knows that there's only one second between 27-APR-2014 23:59:59 and 28 April 2014 00:00:00, but if it is stored as strings or numbers, for example there is a bigger difference between 20140331235959 and 20140401000000 and between 20140331010203 and 20140331195959. This may mislead the optimizer...
But in any case if for any reason any bad you persist in the idea of storing dates as numbers or strings, be sure to keep the items in the order YYYY MM DD HH24 MI SS; at least the order is respected. With the help of MMDDYYYY would be really sad!
And on the addition of certain "quality check" If you use for example a 8 string ((aucune heure min sec)): this can be achieved with a constraint, as for example
SQL > CREATE TABLE aajessica1986 (a_date TANK (8) CHECK (TO_DATE (a_date, 'MMDDYYYY') > DATE ' 1900-01-01'));
Table created.
SQL > INSERT INTO aajessica1986 VALUES ('15212014');
INSERT INTO aajessica1986 VALUES ('15212014')
*
ERROR on line 1:
ORA-01843: not one month valid
SQL > INSERT INTO aajessica1986 VALUES ('10082014') / * (but maybe the user has waited 10 - AUG and not 08 - OCT) * /;
1 line of creation.
Best regards
Bruno Vroman.
-
Reduce the size of the form when the optimizer is
With the help of Acrobat DC Pro.
I have a client who was 468kb PDF. I added all required form fields and he grew to 4.9 MB! I ran the optimizer and then the listener and he says that 90% of the font size. So I tried desincorporation all fonts, but the file is still 4.2 MB. When I check the optimizer once again, it shows no built-in fonts, but again the audit always indicates that 90% of the file size is font.
I tried the chat support. They suggested print in PDF format, making it a new PDF. But the new file does not have the form fields, which did not help. Big cat said 'Sorry' agent, he had nothing else to do...
So... what to do? It is an online form, it is not usable to 4 + MB in size. How can I get that extra small? Previous versions of these forms (made with Acro 9) were in the order of 500kb. And why the difference with what the optimizer and verification are saying about fonts?
Thank you
What you probably did was use some non-base-14 fonts in one or more of the fields. Base-14 fonts are Times, Helvetica, Courier, and a few others and include their variants bold, italics, etc.. These fonts (or adequate replacements) are integrated into Acrobat/Reader, so they do not need to be incorporated into the document. When you use a font non-base-14, Acrobat incorporates the entire in the PDF file police so that all the characters will be available when the time comes to enter text in the fields. The problem is that if you're using the built-in fonts, Acrobat does not remove the font data in the file. I reported this as a bug, but it has not been set. What you can do:
Start with a fresh PDF without all the form fields and copy the old to the new PDF form fields, but make sure that all fonts field are on Helvetica, Times, or Courier (whatever it is the fonts in the highest group in the drop-down list of fonts) before that.
If you have the right tools and you know what you're doing, hack the unused file PDF in order to remove the reference to the police so that the fonts will be deleted when you perform a save as with Acrobat.
-
How to make a table header row to repeat when the table extends to another page?
I have a table that breaks (spans) on another page. I want that line of table headers to repeat (as in Word).
If the header line is a true header row, it repeats automatically.
To add a header row:
- On the table menu, select add rows or columns.
- Select Add 1 rank.
- Select this option for the title.
- Click on Add.
- Remove the false header line.
-
addInstance does not work when the table has no rows
I am trying to add a line to an empty table (no line) and it seems that addInstance does not work.
table. Row. instanceManager.addInstance (1);
Is there a different syntex if the table has no line?
Thank you
Try to use the shortcut to underscore for the instance Manager, it allows you to get items that do not yet exist.
Then
table.row.instanceManager.addInstance (1);
becomes
table._Row.addInstance (1);
-
records_per_block: can be set when the table has a lot of data?
Hello
We have a partition table with a length of middle line of 7K, and there are a lot of the line string. The score is based on the date, old partition will be truncated and reused later. I'm trying to find a way to limit the rows by block 1 (pct_free is another way, but is not reliable), it looks like records_per_block is a parameter that could be defined at the table level. But unfortunately, my test shows that the use of records_per_block, the table must be an empty table and insert a row inside and then set records_per_block, otherwise records_per_block will be ignored. Is there a solution?
SQL> create table t_11 as select rownum a, rpad('x',100,'x') b from dual connect by rownum<100; Table created SQL> delete t_11 where a<65; 64 rows deleted SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER( COUNT(*) ------------------------------ ---------- 121354 2 121355 33 SQL> alter table t_11 minimize records_per_block; Table altered SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER( COUNT(*) ------------------------------ ---------- 121354 2 121355 33 SQL> insert into t_11 select * from t_11 where rownum<100; 35 rows inserted SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER( COUNT(*) ------------------------------ ---------- 121354 37 121355 33
A solution that is not quite perfect - alter table XXX pctfree, pctused 99 1.
Unless your beginning of lines off incredibly short it will probably limit you to one line per block for the future DML.As a guideline for "ranks shortcuts" (and this may vary slightly depending on whether you use SAMS or not):
SQL> insert into t1 values(rpad('x',42)); 1 row created. SQL> insert into t1 values(rpad('x',1)); 1 row created. SQL> select rowid from t1; ROWID ------------------ AAAY2bAAFAAAA4KAAA AAAY2bAAFAAAA4LAAA
Your analysis of the rows_per_block is not quite right — but the critical point is correct, it is very difficult to get the recorded "records per block" reduced once you have data in place. Here is an improved version of your test cut-n-pasted from a SQL * Plus term in 10.2.0.3:
SQL> @temp SQL> set echo on SQL> SQL> drop table t_11; Table dropped. SQL> SQL> create table t_11 as select rownum a, rpad('x',100,'x') b from dual connect by rownum<100; Table created. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5642 66 5643 33 2 rows selected. SQL> SQL> delete t_11 where a between 31 and 70; 40 rows deleted. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5642 30 5643 29 2 rows selected. SQL> SQL> alter table t_11 minimize records_per_block; Table altered. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number (rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5642 30 5643 29 2 rows selected. SQL> SQL> insert into t_11 select * from t_11 where rownum<100; 59 rows created. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5644 33 5642 33 5643 33 5645 19 4 rows selected. SQL> spool off
I delete the last lines 36 to one block and the first 4 lines on the other. For this reason, Oracle is capable (on the block drain plug) to reduce the size of the + 'line directory' + in the first block by removing the pointers 'empty' to the end of the book - but it cannot eliminate all entries in the directory of the line of the second block because the "empty" pointers are not at the end of the directory.
Code to determine the limit on the number of lines per block looks like the size of the largest directory online - not the current number of rows in the block.
In my example, the largest directory of line is 33 because the last 34 entries have been pruned at the end; in your example, the largest directory of line was still 67 because your deletion had left two rows at the end of the directory.
Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
http://www.jlcomp.demon.co.UK"Science is more than a body of knowledge; It's a way of thinking. "
Carl Sagan -
Trigger the update of java client when the table is modified
I have a Java Swing client and a worker C program. The two must communicate with each other via events (written C progression in Oracle, Java Swing client table displays the progress of the user).
I thought I could do this via a trigger on an oracle table. However, I could not understand how to do this. Well, create the trigger was the easy part, but how can I leave the trigger and monitoring a stored procedure to communicate with my Java client? All the info I found was on the triggers and how to store a Java method in an Oracle DB. This isn't what I need. I guess I must register my Java client in some way to monitor relaxation / table.
Does anyone know how to do? I prefer not to use additional libraries (libraries AQ Oracle, Oracle streams). A simple trigger would suffice.
Thank you very much for your help!>
Does anyone know how to do?
>
Use the 'Database change Notification' feature to JDBC. See this article in the Guide of the Dev of JDBC
http://docs.Oracle.com/CD/B28359_01/Java.111/b31224/dbmgmnt.htmAnd 29-2 in the doc it shows how to use
>
In this example, if you leave the registration now open instead of close, then change thread notification database continues to function. Now, if you run a DML query that modifies the SCOTT. DEPT table and commit, say SQL * Plus, the Java program then prints the notification. -
Highlight field when the table row is selected
I have a table view with a couple of lines in there. such a line has a white and gray text. now, when I select the line, the background turns blue to indicate the selection. the problem is that can not read the grey-blue text correctly. you have an idea on how to change the color when this specific line is selected? I need somehow to be able to receive the event in my implementation of custom label to react accordingly on the selection within my method of painting. Thanks, remo
well, the thing is a little naughty...
It takes extends a TableController and overwrite the navigationMovement (...) method that acts as an event listener.
Then you can get the fields and the model of line data and access.
int rowNr = (getView()) .getRowNumberWithFocus () (TableView);
Model DataTemplate = (getView()) .getDataTemplate (rowNr) (TableView);
Scope of fields [] = template.getDataFields (rowNr + 1); I want to get the next line!
-
Display the form when the button is clicked
Hello, I am using JDeveloper 11.1.2.3.0
I have a button and a form on my jsf page. I want the form to display when I click the button (to be seen). How is it possible in the ADF?
Thank youTake a look at http://tompeez.wordpress.com/2013/03/25/creating-variables-and-attribute-bindings-to-store-values-temporarily-in-the-pagedef/
Timo
-
ID of passage with its values in the fields in form when the button is clicked.
Tried to pass the value according to the button clicked with his id in to form.
I am able to get the id in the right place as you can see in the Image below, but not able to pass all the different values of it.
Global function:
function get_id (id)
{ var a = parseInt (id)
Apex. Item (P73_SHIP_ADDRESS_ID). SetValue (a);
}
Static page source:
declare
Id1 number (10,0);
Start
for rec in (select * from OMS_SHIPPING_ADDRESS where USER_ID =: P1_USER_ID)
loop
Id1: = rec. SHIP_ADDRESS_ID;
sys. HTP.p ("< br > < div >");
sys. HTP.p ('< a >' | sys.) HTF.escape_sc (CRE. TYPE) | "' < /a > < br / >"
|| sys. HTF.escape_sc (CRE. ADDRESS_LINE1)
|| ' , '
|| sys. HTF.escape_sc (CRE. ADDRESS_LINE2)
|| "' < br / >"
|| sys. HTF.escape_sc (CRE. CITY)
|| '-'
|| sys. HTF.escape_sc (CRE. ZIP_CODE)
|| "' < br / >"
|| sys. HTF.escape_sc (CRE. STATE)
|| "' < br / >"
|| sys. HTF.escape_sc (CRE. COUNTRY)
|| ' < br / > < input type = "button" value = "sΘlectionner" onclick = "get_id (id)" id ="" | recomm. SHIP_ADDRESS_ID | ' ' ' > '
);
sys. HTP.p ("< / div > '");
end loop;
end;
Below the Image if I click select can pass id to send the address id but able to pass the address line1.line2, city etc...
I tried to move to the global function also does not work! If someone could guide me!
Hello
If you have already passed the ID, then why don't you create a dynamic action on change of SHIP_ADDRESS_ID and load the details of database and fill in other areas.
In this way the use of ID is understandable.
--
Sunil Bhatia
-
How can I fill out a form when the typewriter is grayed out?
I was sent a form to complete for a transfer of real estate. It contains no provision to fill the it. So I tried to use the typewriter, but the typewriter is grayed out. I tried the content, add or change a text box, but which is also grayed out. How to enter the information? I use Acrobat X Pro.
You may need to print on paper and go to the pen and ink.
Then mail must return or fax or scan and join an e-mail out of the scanner.
Communicate to the author of the file as a PDF form, it seems to be watered and needs fixin.
Be well...
-
How obtain all of the relationship when the table contains information of the hierarchy?
I have a table containing the information relationship MySQL master & slave, look like this,
The requirement is to gather all of the relationship in a group, the result should look like this.Master Slave ---------- ---------- 1 2 1 3 3 4 4 5 4 6 4 7 2 8 11 12 11 13 21 22
Could someone give me a tip how to do?1,2,3,4,5,6,7,8 11,12,13 21,22
Thanks in advance!
Best wishes
SatineNikolay Savvinov wrote:
Oops, I misread your original post - you want to break a together in connected groups, it's a little more complicated, sys_connect_by_path probably help here...
It is sys_connect_by_path + connect_by_root + chain aggregation (I used XMLAGG). The only question to OP is MySQL is owned by Oracle, but does not have the Oracle database and my solution won't work in MySQL. In any case:
with sample_table as ( select 1 master,2 slave from dual union all select 1,3 from dual union all select 3,4 from dual union all select 4,5 from dual union all select 4,6 from dual union all select 4,7 from dual union all select 2,8 from dual union all select 11,12 from dual union all select 11,13 from dual union all select 21,22 from dual ), t as ( select connect_by_root master root, slave from sample_table start with master not in (select slave from sample_table) connect by master = prior slave ) select root || ',' || rtrim(xmlagg(xmlelement(s,slave,',').extract('//text()') order by slave),',') path from t group by root order by root / PATH ---------------- 1,2,3,4,5,6,7,8 11,12,13 21,22 SQL>
SY.
-
Why PDF doesn't work, when the table of contents are enabled?
Hello
When I activate the TOC function in the skin editor and publish my project in PDF format, the file does not work and contains only quads and strange traits.
What is the reason for this?I used 4 before Captivate and everything worked fine. Now, with Captivate 6, I had this problem or a bug.
Thank you very much for the help!
Concerning
Martin
Hello, welcome,
It is a known problem. There is a fix (see link), but if you have used an image of the poster will not visible:
http://helpx.Adobe.com/Captivate/KB/Captivate-SWF-doesn ' t-play - acrobat.html
Lilybiri
-
Date-time info - when the last time any new record is inserted in a table
Hi all
is it possible to get information from Date and time - when the last time any new record is inserted in a table without triggers...?
Thanks in advance.
/ ShakeelHello
user11981535 wrote:
is it possible to get information from Date and time - when the last time any new record is inserted in a table without triggers...?Insert only, I don't think it's possible.
But you can ora_rowscn pseudo-column and scn_to_timestamp the user function to get the time when the table was modified last:Scott@my11g SQL>select scn_to_timestamp(max(ora_rowscn)) lstmod from t1; LSTMOD --------------------------------------------------------------------------- 13-DEC-10 05.05.22.000000000 PM Scott@my11g SQL>update t1 set val='stuff' where id=1; 1 row updated. Scott@my11g SQL>commit; Commit complete. Scott@my11g SQL>select scn_to_timestamp(max(ora_rowscn)) lstmod from t1; LSTMOD --------------------------------------------------------------------------- 13-DEC-10 05.07.19.000000000 PM
But I'm not wheither it is reliable to be used on the production database.
Maybe you are looking for
-
Why my screen is garbled with bad pixels
The text for Mozilla (no other programs) is wrong to pixels. Some areas where it is supposed to be a part of the text is white, and some areas that are supposed to be white have other pixels of color. It remains like that, even when scrolling. But if
-
I want to remove the graphics from the bookmarks toolbar.
The graphic option more text takes too much space in the bookmarks toolbar. When I change the text only option, all graphics are gone, not only the bookmarks toolbar. I want to get rid of the graphics in the bookmarks bar, ONLY. How can I do this?
-
Re: Replacement battery does not charge
Hello As my laptop battery died, I bought a replacement battery for Toshiba A300 - 16L, but the battery won't charge at all. My laptop says "plugged in, not supported. When I put the original battery, it says "plugged in, in charge.I don't know if th
-
I got an error that a file was not part of a library he claims make part of. In fact, it is a .lvclass not a lib. The archives, I saw how to drag and drop a file in a library. This method worked for a single file. Then I tried to put another file in
-
Acer Aspire V15 V3 - 575 - 50TD Ram upgrade
Hello, I just bought a laptop named in the subject. The stock of RAM according to CPU - Z is ACR16D3LS1KNG/4 G. I tried with RAM Module Kingston KVR16S11/8 (1.5V) and did NOT work. I want to know what type of ram can I use upgrade. I also want to kno