Error Creating Tabular Form in 4.2
I have a workspace with additional schemas granted. So, thew workspace has a parsing schema of SCHEMA_A but, schemas SCHEMA_B and SCHEMA_C have been granted.
I have confirmed that the appropriate permissions have been granted on a table in SCHEMA_B to SCHEMA_A. (U,I,S,D).
I can create an Interactive report on TABLE_A in SCHEMA_B without any issues.
However, if I go to add a Tabular Form, I pick the exact same table and I get the following error alert:
You do not have access to the schema you are importing
Import Failed
As further evidence that this is, indeed, a bug, I can create the form with some random table in the SCHEMA_A schema. Then, go edit the page and chnage it to select from the table in SCHEMA_B and everything works fine.
Help!
-Joe
Joe, I was able to resolve my issue by following the advise here: How to change parsing schema for using application in test environment?
(In particular Roel's tip to login as Administrator in the Test environment and add the schema to the workspace schema('s))
I hope this works for you as well.
Similar Messages
-
When I use the Create Page > Tabular Form wizard to create a form based on a table with a zero in the name, I receive this error:
ORA-20001: Unable to create updateable report. ORA-20001: ParseErr: ORA-00904: "T11_ACCOUNT": invalid identifier
Here is my table layout:
SQL> desc a200t011
Name Null? Type
T011_ACCOUNT VARCHAR2(10)
T011_AREA VARCHAR2(3)
T011_ACCOUNT_NAME VARCHAR2(40)
T011_GRANT_BEGIN DATE
T011_GRANT_END DATE
T011_DEPARTMENT VARCHAR2(8)
T011_STATUS VARCHAR2(1)
T011_TYPE VARCHAR2(1)
Looks like HTMLDB is removing the zeros?Billy,
I've confirmed this behavior but I cannot explain why it is happening. So for now, it'a a bug.
Scott -
Select list in a manually created tabular form
I created a select drop down item in a manually created tabular form. When I run the page, it also shows the null value '%'. How do I edit this?
This is the line I am using in the SQL:
htmldb_item.select_list_from_query(34,IN_PGRS_STAT_DSC,'select distinct STAT_DSC, STAT_DSC from PROJECT_STATUS_REF') IN_PGRS_STAT_DSC,And the select list doesn't work. It gives me an error message if I have the form to display one extra empty record and the select list. But even with the select list, if I don't include the extra row, it works properly.
report error:
ORA-06550: line 1, column 13:
PLS-00103: Encountered the symbol "COLLECT" when expecting one of the following:
:= . ( @ % ;
ORA-06550: line 1, column 82:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
. ( , % from
What I also realized is that the drop down shows the value 7. But the table is empty with no records. I have no idea where this number 7 is coming from?
Message was edited by:
user494578
Message was edited by:
user494578 -
How to create tabular form whithout primary key in table
Hi All,
I have requirement to create a tabular form but the problem is, the table which I am using in the application don't have any Primary key, I am using only one table can't change any thing in table.(i.e can't add any row in table,no change in data model)
How can I create tabular form when primary key is not available.
looking forward for all of your quick responce.
Thanks in advance.
Dikshit Kumar NidhiYou can create a view like
select a.rowid id, a.*
from table a
and create a tabular form on this view. You can use
the new column ID as Primary key.Did you try to actually do this? I did at
http://htmldb.oracle.com/pls/otn/f?p=24317:159
And when I change something and click Submit, I get an error
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01733: virtual column not allowed here, update "VIKASA"."NO_PK_VW" set "ID" = :b1, "I" = :b2, "J" = :b3 where "ID" = :p_pk_col
Thanks -
2 manually created tabular form on the same page based on 2 different table
Hi, I followed the how to document on manually creating tabular form, including one extra row.
The first form I created works fine, but when I attempt to create the second tabular form based on a different table on the same page, I get the following error message when I try to create the query:
ORA-04045: errors during recompilation/revalidation of PUBLIC.X ORA-00980: synonym translation is no longer valid
The logic behind both tabular forms I am using is the same, except that for the second query, I use 100 instead of 1, 300 instead of 3, etc:
select htmldb_item.hidden(1,empno) empno,
ename,
htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
wwv_flow_item.date_popup(6,null,hiredate) hiredate,
htmldb_item.text(7,sal,10) sal,
htmldb_item.text(8,comm,10) comm,
htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
from emp
Can anybody help?
Thanks a lotHi,
If by "100 instead of 1" you mean the column numbers, then this won't work as you can only have a maximum of 50.
Andy -
Create Tabular Form wizard - how to add rows to Table / View Owner list?
Create Tabular Form wizard asks to choose "Table / View Owner"
How to add additional schemas/users to this "Table / View Owner" dropdown list?Next step:
I tried to create 2nd application - and it sees and allows to select from schemas I added in previous step.
Then I tried to add 1 more schema - and 2nd application can't see it...
I create 3rd application and select 1st schema (assigned when workspace was created) - and it sees only this one schema
I create 4th application and select another schema (added in previous steps) - and it sees 2 schemas from 4 assigned
what is this?
how to live with it? -
Error when creating tabular form with wizard Apex 4.01
Hi,
I just created a tabular form using the page creation wizard on a table and am showing 50 rows at a time and am getting error:
mod_plsql: /pls/apex/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 2225 parameters. Upper limit is 2000
It doesn't matter how much data I put in --even just a couple rows updated. I also reduced rows to 20 and still get same message.
Anyone else seen this error?
PatHi Jari,
It returns about 1100 records which i think is not much.
But even when i narrow the amount of records the problem is not solved.
it this a bug?
Best
Hugo -
ORA-20001 error when creating Tabular Form or Form and Report
Whenever I try and add a Tabular Form or Form and Report to my application i am getting the following error at the end of the Wizard.
ORA-20001: Unable to create updateable report. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (APEX_030200.WWV_FLOW_SHORTCUT_IDX1) violatedIt's not a problem I have seen when building other apps and clearly I have managed to corrupt this application somehow.
I have loaded the problem onto apex.oracle.com for those that have access. The application number is 20325.
Any help would be very much appreciated.
Cheers ShuntThanks! Never thought of that.
--Andy -
Trouble creating tabular form through wizard
I can't seem to create a tabular form on one particular table. I've created many others but this table seems to be a problem. The error I get is :
ORA-20001: Unable to create updateable report. ORA-20001: ParseErr: ORA-00972: identifier is too long
I'm starting to wonder if there is something with one of the column names in the table that might be the problem. The DDL to create this table is as follows:
CREATE TABLE SECURITY_RETURN_TYPE (
SECURITY_RETURN_TYPE_ID INTEGER NOT NULL,
SECURITY_RETURN_TYPE VARCHAR2(20) NOT NULL,
DESCRIPTION VARCHAR2(100) NULL
CREATE UNIQUE INDEX XAK1SECURITY_RETURN_TYPE ON SECURITY_RETURN_TYPE
SECURITY_RETURN_TYPE ASC
ALTER TABLE SECURITY_RETURN_TYPE
ADD ( CONSTRAINT XPKSECURITY_RETURN_TYPE PRIMARY KEY (
SECURITY_RETURN_TYPE_ID) ) ;
CREATE SEQUENCE SEQ_SECURITY_RETURN_TYPE
INCREMENT BY 1
START WITH 1
NOMAXVALUE
NOMINVALUE
NOCACHE
NOCYCLE
NOORDER
CREATE OR REPLACE TRIGGER BRIUT_SECURITY_RETURN_TYPE
BEFORE INSERT OR UPDATE ON SECURITY_RETURN_TYPE
REFERENCING OLD AS OLD NEW AS NEW
FOR EACH ROW
begin
/* POPULATE THE AUTO-INCREMENT FIELD IF NECESSARY */
if :new.SECURITY_RETURN_TYPE_ID is null
then
select SEQ_SECURITY_RETURN_TYPE.nextval into :new.SECURITY_RETURN_TYPE_ID
from dual;
end if;
end;I have encountered the exact same error. I have determined that the problem occurs when the name of the column associated with the Primary Key is exactly 23 characters in length. In my example, the table is ELECTRONIC_SIGN_BLOB with Primary Key ELECTRONIC_SIGN_BLOB_PK consisting of column ELECTRONIC_SIGN_BLOB_ID.
When I rename the column (using ALTER TABLE RENAME COLUMN) to ELECTRONIC_SIGN_BLOB_IDX the Wizard works fine. The same is true if I rename the column to ELECTRONIC_SIGN_BLOB_IDXXXXXXX (length=30) or to ELECTRONIC_SIGN_BLOB_I (length=22). However, if I rename it to ELECTRONIC_SIGN_BLOB_XX or ELECTRONIC_SIGN_BLOB_VV (length=23) the problem reoccurs.
So, it seems it has nothing to do with the name, but everything to do with the length equal to 23 characters. Hope that information helps! -
I am trying to create a tabular form that uses multiple altec_item functions (select_list, select_list_from_LOV,...). Whenever I attempt to create a new page and select Tabular Form, I am forced to select a table and columns. So I have just selected any table and once the sql is created, I overwrite it with my own sql. When I try to apply the changes, I get an error anytime I use apex_item... for a particular column. I have tried the same creating a standard report with the same results. I have read at least 20 examples but none say where to start from when creating the tabular form and just jump right in to the code. Can anyone please point me in the right direction?
Thanks,
JerryuYou can start with creating a simple classic report. You can use apex_item functions in your query and later set your column attributes to "Standard Report Column". Basically, you are creating a updateable report.
-
Hi
I created a tabular form. Also created a trigger that would insert a sequence number, user and system date each time a new record is inserted. I have associated an existing LOV to one of the fields.
I hit the 'Add Row' button. Select a value from the LOV for the account code. Hit the submit button and page indicates 1 row inserted.
I hit the 'Add Row' button again to insert another row and the following message appears:
Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "F246ADAF68494BEE51356ECC92B1047C", item checksum = "B9E444CAB12B67D92A5DBC8BB3E48517"., update "TEST"."VIEW_ACCOUNTS" set "CONTROL_SEQUENCE" = :b1, "ACCOUNT_CODE" = :b2
If I come completely out of the application and go back in to insert another record, I get the same error.Hi,
I think above probem is caused by the trigger created.
Check without the trigger for test-purposes and check if the error is gone. ( checksum error, I suppose )
Kind regards,
Iloon -
On a wizard generated tabular form on a table, I keep getting
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.
when I click the Apply Changes button.
The data has definitely not changed.
How do I go about troubleshooting this? I did add some derived fields to the SQL query that the wizard generated, but they are not Editable, they are read-only fields.
I am at my wits end.
ThanksMarc:
I did the latter thing. I started with the wizard generated form, made sure it was working and added my changes one at a time, keeping my fingers crossed after each change! Its still fine.
<rant>
See the frustrating thing about the MRU error is that it gives absolutely no indication as to what the real problem is, it doesnt help to fix it. So basically one has to "backtrack" all the way to the beginning, the same way I did above i.e. start all over again. Its very time-consuming and counter-productive.
</rant>
Marc: Is there a way you can basically prevent changes to the wizard-generated form that would make it "not work" anymore?
Thanks -
Add row not working when creating tabular form manually
Hi friends,
I am trying to create a manual tabular form( with the help of Denes's example). When adding a new row by clicking
the add button new row is added and i can enter data in that row. This works fine when there is only one page.
Now i have 30 rows in 2 pages. Now when i tried to add a new row by pressing the add button nothing is happening.
In my add button i have given redirect to the same page and request as ADD and the report query is as below.
SELECT apex_item.checkbox (1,
EQUIPMENT_ID,
'onclick="highlight_row(this,' || ROWNUM || ')"',
NULL,
'f01_' || LPAD (ROWNUM, 4, '0')
)Tick,
EQUIPMENT_ID,
apex_item.hidden (2,EQUIPMENT_ID)
||apex_item.text (3,
EQUIPMENT_ROLE,
80,
100,
'style="width:170px"',
'f03_' || LPAD (ROWNUM, 4, '0')
)|| apex_item.hidden (4, wwv_flow_item.md5(EQUIPMENT_ID,EQUIPMENT_ROLE,EQUIPMENT_VERSION,
SNMP_PORT,RO_COMMUNITY_STRING ,RW_COMMUNITY_STRING,COMMISIONED_STATE,CUSTOMER_ID,
SITE_ID
))EQUIPMENT_ROLE,
apex_item.text (5,
EQUIPMENT_VERSION,
80,
100,
'style="width:170px"',
'f05_' || LPAD (ROWNUM, 4, '0')
) EQUIPMENT_VERSION,
apex_item.text (6,
SNMP_PORT,
80,
100,
'style="width:170px"',
'f06_' || LPAD (ROWNUM, 4, '0')
) SNMP_PORT,
apex_item.text (7,
RO_COMMUNITY_STRING,
80,
100,
'style="width:170px"',
'f07_' || LPAD (ROWNUM, 4, '0')
) RO_COMMUNITY_STRING,
apex_item.text (8,
RW_COMMUNITY_STRING,
80,
100,
'style="width:170px" ',
'f08_' || LPAD (ROWNUM, 4, '0')
) RW_COMMUNITY_STRING,
apex_item.text (9,
COMMISIONED_STATE,
80,
100,
'style="width:170px" ',
'f09_' || LPAD (ROWNUM, 4, '0')
) COMMISIONED_STATE,
apex_item.text (10,
CUSTOMER_ID,
80,
100,
'style="width:170px" ',
'f10_' || LPAD (ROWNUM, 4, '0')
) CUSTOMER_ID,
apex_item.text (11,
SITE_ID,
80,
100,
'style="width:170px"',
'f11_' || LPAD (ROWNUM, 4, '0')
) SITE_ID
FROM EQUIPMENTS_FEAT_MVIEW
UNION ALL
SELECT apex_item.checkbox
(1,
NULL,
'onclick="highlight_row(this,' || ROWNUM || ')"',
NULL,
'f1_' || LPAD (9900 + LEVEL, 4, '0')
) delete_checkbox,
NULL,
apex_item.hidden (2, NULL)
||apex_item.text (3,
NULL,
80,
100,
'style="width:170px"',
'f3_' || LPAD (9900 + LEVEL, 4, '0')
) || apex_item.hidden (4, NULL)EQUIPMENT_ROLE ,
apex_item.text (5,
NULL,
80,
100,
'style="width:170px"',
'f05_' || LPAD (9900 + LEVEL, 4, '0')
)EQUIPMENT_VERSION,
apex_item.text (6,
NULL,
80,
100,
'style="width:170px"',
'f06_' || LPAD (9900 + LEVEL, 4, '0')
)SNMP_PORT,
apex_item.text (7,
NULL,
80,
100,
'style="width:170px"',
'f07_' || LPAD (9900 + LEVEL, 4, '0')
) RO_COMMUNITY_STRING,
apex_item.text (8,
NULL,
80,
100,
'style="width:170px"',
'f08_' || LPAD (9900 + LEVEL, 4, '0')
)RW_COMMUNITY_STRING,
apex_item.text (9,
NULL,
80,
100,
'style="width:170px"',
'f09_' || LPAD (9900 + LEVEL, 4, '0')
)COMMISIONED_STATE,
apex_item.text (10,
NULL,
80,
100,
'style="width:170px"',
'f10_' || LPAD (9900 + LEVEL, 4, '0')
)CUSTOMER_ID,
apex_item.text (11,
NULL,
80,
100,
'style="width:170px"',
'f11_' || LPAD (9900 + LEVEL, 4, '0')
)SITE_ID
FROM DUAL
WHERE :request = 'ADD'
CONNECT BY LEVEL <= 1How can i solve this problem . Please help,
Thanks,
JeevHi,
The blank row that you get from your second select statement would appear at the end of the report. Put that statement first and it should be at the top of the first page
Andy -
I created a tabular form manually. I got it to work so that it displays a blank record automatically so the user can insert a new row. But this only gives the user to insert one row at a time. Can this be changed so the user can insert multiple rows at a time?
Thanks. The tabular form (detail) is actually part of another form based on another table (parent).
I want to use the apply changes button that the parent form provides to update recrods for the detail form. And for my requirement, I actually need only 3 extra rows, and this is set number for every parent record.
Can this be done without having to click on add row button, since I only and always need 3 rows?
Thanks -
Search criteria on manually created tabular form
Hi All,
Apex v4.0
DB 11g
In a page I have created one manually tabular form using collection .
My requirement is :- Search criteria on the form based on 3 column field of that form.
I tried to use LIKE, EQUAL in the select statement of the query. BUT search option is not working .
When I tried to search ,it doesn't return anything.
But its working on wizard base TF.
I am not sure this one option for search criteria on the manually created TF.
Kindly suggest any other way we can achieve it.
Thanks in Advance !!!
Regards,
AmuRemember that the values on an apex page is only accessible once you submit your page.
And for tabular forms the values needs to be processed to the apex collections after you submit.
For better understanding what happens inside the collections I suggest that you always make a conditional report with
select * from apex_collectionsand Condition
Where Value of item in expression1 = Expression2
Expression1
DEBUGExpression2
YESThis way you can show the content of your collections easily by just enabling debug.
Regards
Maybe you are looking for
-
Impossible to send a mail with a message in HTML format
Hi I try to send a message in HTML format. Here is the code : public void sendMessage(String subject, String message, String to, String cc, String bcc) throws MessagingException { MimeMessage mimeMessage = mailSender.createMimeMessage()
-
I cannot send a message to a non-apple phone and an apple phone in a group message. Both of the names will turn green as though they are non-apple phones, even when one is an apple user. I am on iPhone 6. It also happens on my mom's iPhone 5s.
-
Rounding up component quantities during Production Confirmation
Hello gurus. I have the following situation. I have a BOM for finished product "X" that contains a component "Y" and a box "Z". The box fits 16 of these pieces. So in the BOM I type a usage quantity of .062 for component "Z" (I'm limited to 3 decimal
-
Yosemite download does not start
I recently upgraded to Yosemite and want to reinstall it from scratch. So, I logged on App Store click on the "download" button, which is active and select the "continue" button for a full download, but then other than a cogwheel indicating some sort
-
Password can only be changed once
Suddenly on our system users can only change their password once. That means: 1) Administrator creates account in WGM with OpenDirectory-Password "xxx1". 2) User can login with password "xxx1" 3) User changes password to "xxx2". 4) User can login wit