Problem in compiling FORM
Migration from Oracle 8i (8.1.7 for Win. NT) to Oracle 10g :
Current Environment :
Operation System : Window NT4.0
Oracle : 8i (8.1.7)
Developer 2K : Forms 6.0.5.33.0, Report 6.0.5.33.0
We have ERP System in house Developed. Everything working fine.
Now we want to Migrate Oracle 8i (8.1.7) to Oracle 10g.
For testing purpose, We have downloaded Oracle 10g from Oracle site.
Installed Oracle 10g on Other Computer. Migrate Database using Export / Import from Oracle 8.1.7 to 10g.
Completed Installation and database migration successfully.
My ERP application running successfully.
Now if i made any changes in my any Forms (6.0.5.33.0) and compile it / or just recompile (without any changes) any forms , it gives following error Code.
" ora-00600 internal error code, arguments [17069], [39843448],[],[]...
Error due to accessing of synonyms. "
In any schema, if we use following code in form , it will not compile.
e.g
Declare
a date;
begin
select sysdate into a from dual;
end;
but above code will run correctly in sqlplus of any version (8.0.5, 8.1.7, 10.1.0).
We have also tried to solve above problem by droppeing synonymes and recreate it.
But the problem remains same.
So Please advice me whether Oracle 10g and Forms (6.0.5.33.0) is compatible or not.
Thanks for your reply
We have tried to go for 6i(6.0.8.11.3).
As we have ERP System (In House Developed), We have to make so many changes at application level.
Currently, we are using the Oracle Developer Form 6 verison 6.0.5.33.0. and oracle 8i (8.1.7)
We are using the all executables compiled in Developer Form 6 those directly using with new Developer Form 6i. But, we are faced the some Form related problems on newly migrate version of Developer Form 6i.
I explain you, which type of problem faced on Oracle Developer form 6i?
e.g.
I have developed the form using the two tables likes DEPT, EMP, In DEPT table, there are three columns (deptno, dname, loc), Department No is generated automatically at save time and mandatory field, DNAME and loc is also mandatory field. Other table is EMP table and columns are emp_no, ename, sal.
When I entered the first value in DNAME and LOC fields of first block and cursor is try to move on second block called employee blocks. Oracle Form builder raise the error âDepartment No. must be entered.â And other alert came immediate after closing the first alert and error is âDISABLE ITEM OF âDEPT_BLOCK.DEPT_NOâ FAILED VALIDATIONâ. Based on this error, cursor is not going on other block. Its still remain on first block last field.
Same form is running good without facing any problems on Oracle Developer Form 6.
We want to migrate our database from Oracle 8i to 10g.
But same time we are not going to change our Forms Version i.e Forms 6 to 6i.
Similar Messages
-
Problem in compilation ( Forms 6i)
hi
The following code is not getting compiled in developer 2000
(forms6i) and backend(oracle8)
EXEC SQL BEGIN DECLARE SECTION;
char *pctx;
EXEC SQL END DECLARE SECTION;
EXEC TOOLS GET CONTEXT appl_1 INTO :pctx;
so please help me
Thanks
shaileshThe code you supplied is C code - by the looks of it from a User Exit. You'll need to build this with a c compiler and link as a DLL on Windows or with the Forms Excutables on Unix.
It will not compile in the PL/SQL Editor. -
Database link error when compiling forms 6.0 and forms 6i.
Dear sirs,
We have a database link between two databases of the same version oracle 8.0.5.
Recently we have upgraded one of our databases to version 9.2.0.1 (the database where the database link was originally created ) and now we are having problems when compiling forms that have PL/SQL blocks using the database link.
The error message received when compiling the form is the following:
ORA-02068: Following severe error from dbproduc.world
ORA-00600: Internal error code, arguments: [No conversion op],[],[],[],[],[],[],[]
The forms did not present this error before, it began when we made the upgrade.
Is this a FORMS 6.0 problem ?
Is this an ORACLE 8.0.5 problem ?
Is this an ORACLE 9.2.0.1 problem ?
Can you please give me some advice to solve this problem ?
Thanks in advanceAs I see, when you use a non-oracle database the tables don`t appear, you must create the realation with the table manually, on the properties
-
Show a insert trigger error message on a compiled form
Good Morning
Is there any way to get a oracle complied form to display a message
from a trigger insert event.
My problem is that we have proprietry oracle froms application (with compiled
forms and no source code. I need to raise some sort of warning message
from the form when certain condition occurs.
I have tried using some code like below in the trigger
but the dbms_output.put_line does not output anything
nor the EXCEPTION
DECLARE MY_ERROR exception;
begin
DBMS_OUTPUT.ENABLE;
dbms_output.put_line('outputting this message');
raise MY_ERROR;
EXCEPTION
WHEN others THEN Raise;
END;
thanks
David HillsYou don't need to get at the source code of the form. The example you gave will stop the execution of any process and you said it should happen for an insert event. So a Raise_Application_Error in a database trigger would be sufficient.
Hopefully the vendor has put code in their on-error triggers which will cut the message out of a user-defined exception and display it as an alert (this is so much a better method than returning numbers to indicate success or type of failure). If not then the message will be rather ugly but it will at least get the job done.
James. -
Strange Problem in Oracle Forms.
Hello,
I have a strange problem of a form not opening in the migrated App Server but is working fine in the existing server.
The problem is that we have now migrated to App Server 10.1.2.3.0 (patch applied to 10gR2 App Server installation) from 9.2.0.4.
The issue is that the same form works perfectly fine in 9.2.0.4 but doesnt open up in the 10.1.2.3.0 server itself !
The form is called using "new_form" procedure.
I even cross checked by giving other form names; they work fine. But this set of forms (for which problem occurs) only doesnt open up.
All the forms are compiled against 10.1.2.3 Compiler; All point to the same OLB and all of them have a common menu bar.
Peculiar thing is WEBUTIL is working for all forms. Version is 1.0.6. No problems in WebUtil.
Please help me making this sole out as we need to migrate this ASAP.
Requesting one and all.
Thanks.Solved it out..
It was an error in frmwebutil.jar installation.
Below is the link from Metalink:
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=421930.1
Cheers ! -
Unable to compile form in unix
Hi All,
When I am trying to compile a form in unix using the below command:
$ORACLE_HOME/bin/f60gen module=ICQTYUH2.fmb userid=apps/test99 output_file=ICQTYUH2.fmx module_type=form batch=no compile_all=yes
I am getting the below message and the form is not getting compiled.
Forms 6.0 (Form Compiler) Version 6.0.8.27.0 (Production)
Forms 6.0 (Form Compiler): Release - Production
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.21.0 Build #0 - Production
Oracle Virtual Graphics System Version 6.0.5.39.0 (Production)
Oracle Multimedia Version 6.0.8.25.0 (Production)
Oracle Tools Integration Version 6.0.8.17.0 (Production)
Oracle Tools Common Area Version 6.0.5.32.0
Oracle CORE Version 4.0.6.0.0 - Production
ROS ERROR: -200
Segmentation Fault(coredump)
Some additional info I also tried to compile some exisitng forms in the same directroy and those are getting compiled. So then i transfer a compiled form to my harddrive and open it with formbuilder and then save it and ftp it to unix. Again when I try to compile the same form without even making any change I am getting same message.
So I am suspecting there is something wrong when I am opening and saving the form builder. Can anybody assist me with this problem.
Thanks.I am pretty sure transfer is happening correctly. I am taking care of the binary mode of transfer. Moreover when I transfer an already compiled file from unix and without open it from form builder and save it, I just trasfer it back to the unix box and I am able to compile it.
Is there any other thought on this.
Thanks -
Forms builder 6i close suddenly when compiling form with dblink refenece
Dear Oracle developer
We have encountered this problem today. We develop a form module using forms 6i. Within the form module we have a procedure with a cursor which uses database link.When we try to compile the form module the form builder just close immediately.
e.g. I have create a procedure program unit within my form as ivan and a dblink called test:-
PROCEDURE IVAN IS
cursor c_ivan
IS select ce_code
from cr_emp_info@test;
BEGIN
OPEN c_ivan;
LOOP
EXIT WHEN c_ivan%notfound;
null;
END LOOP;
close c_ivan;
END;
I have tried the same with all my colleagues machine, the same problem occur.
I have tried with oracle 10g forms it give the following:-
ora01041: Internal error. hostdef extension doesn't exist
many thanks in advance
Message was edited by:
ISWCWe have encountered this problem todayYou didn't have this kind of problem in this form...yesterday...???
Have you checked the log of Forms6i when it crashes.....???
This same problem occurs when you select "Program->Compile PL/SQL->Incremental/All"...??? as well...???? or when for example press the <Ctrl>+<T> combination of buttons...????
Simon -
Problem in installing Forms 6 on Windows 2000
I have problem in installing forms 6 on windows 2000.
Please advise me.
nullHello,
I've been using Dev 2000 ver 6i for several months sucessfully on Win 2K RC2. The compiled .fmx's work fine with the ver 6.0 runtime environment under NT 4.0.
The only problem is that the Forms Server won't work till the 1st patch set comes out
(only Oracle knows when!) , so you can't test or deploy the forms as web apps on Win 2K yet. OAS 4.0 appears to work ok on Win 2K.
I have been using the Beta version of Dev 6i and will upgrade to the release version eventually, probably when the patch comes out.
null -
I can't compile forms using telnet ....
i have an application server with linux redhat 4 software.
i have a shell that is named ' cpfdry.sh ' which is found on the path '\\192.9.200.2\apps\forms_to_compile'.
the contents of the shell is
for i in `ls *.fmb`
do
echo compiling form $i
/home/apps/as/bin/frmcmp.sh userid=dry/dry@dq Module=$i batch=YES compile_all=YES
done
when i want to complie a form i put it in that path beside the shell and just run the shell by double clicking it , and i get my form compiled and generating an FMX file.
but every time i have to go to the server which is located in another room. with every modification i have to recompile and have to go to the other room .
i tried to do the compilation process by using telnet , and then run the shell file from my machine , i did like the following
[oracle@apps forms_to_compile]$ sh cpfdry.sh
compiling form PA_SPECIAL_PAY_COST.fmb
FRM-91500: █و╤ ▐╟╧╤ ┌طه ╚╧┴/┼▀ع╟ط ╟ط╚غ╟┴
compiling form sal_arseda_balance.fmb
FRM-91500: █و╤ ▐╟╧╤ ┌طه ╚╧┴/┼▀ع╟ط ╟ط╚غ╟┴
compiling form sal_order_reserve.fmb
FRM-91500: █و╤ ▐╟╧╤ ┌طه ╚╧┴/┼▀ع╟ط ╟ط╚غ╟┴
as you can see i got an error and the forms aren't compiled.
and still now i have the same problem, and unfortunatly i still have to go to the room that have the server many times at the day ..
what is the problem, i need some help plz ..
thanks....
sabry...
Edited by: user635392 on Jan 8, 2011 5:24 AMthanks for interest..
yes , it is the same user
my server ip is 192.9.200.2, so i write in the command line ' telnet 192.9.200.2.
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
Kernel 2.6.9-42.ELsmp on an i686
login: oracle
Password:
in the login and password i use the same user ' oracle ' and the same password
thanks ..
sabry .. -
Error when compiling form - width of content canvas error
Hello everyone,
I was compiling my form in Designer and I got the erro message below - I have checked the content canvas width which I had set to 80 which has worked with other forms.
CDG-01364 ERROR: Module CDS0010F: Available width on content canvas 2 (-199) less than minimum allowable width (450)
Any help would be appreciated.
CathyI HAVE FOUND THE SOLUTION. I WAS HITTING A BUG. GO THROUGH THE FOLLOWING DOCUMENT AND YOU WILL ALSO BE ANSWERED.
Bug No. 1354393
Filed 13-JUL-2000 Updated 10-DEC-2001
Product Oracle Designer/2000 Product Version 6.5.40.3.0
Platform Intel Windows NT Platform Version No Data
RDBMS Version 8.1.6.1 Affects Platforms Generic
Priority Severe Loss of Service Status Code Bug (Response/Resolution)
Base Bug N/A Fixed in Product Version No Data
Problem statement:
CANT GENERATE MC ON CONTENT CANVAS FOLLOWED BY TABBED CANVASES
*** 07/13/00 03:16 am ***
This may possibly be related to bug #1132350.
I have a module with 3 module components.
I want the 1st mc displayed on the content canvas. Placement = New Content
Canvas.
I want the 2nd and 3rd mc's displayed on tabbed canvases below the 1st mc.
Placement = New Tab Canvas Page.
I was able to generate this module with Des6.0
With Des6i, when I attempt to generate I get the message:
CDG-01281 ERROR: Module HSD0016F: Oracle Forms binary file for BLOCKS ON TABS
has NOT been created
The module will only generate if I set all 3 mc's to Placement = New Tab
Canvas Page.
*** 07/14/00 08:35 am *** (CHG: Asg->NEW OWNER)
*** 07/14/00 08:38 am *** (CHG: FixBy->6.5.40)
*** 07/20/00 03:37 am *** (CHG: Sta->31)
*** 07/20/00 03:37 am ***
Module as described above generates correctly in version 6.5.29
Please supply a testcase which reproduces your problem.
*** 07/27/00 12:16 am ***
I have supplied a test-case to DPUSCEDD as requested.
*** 08/03/00 01:58 am *** (CHG: Sta->11)
*** 08/03/00 01:58 am ***
Test case supplied to dpuscedd.
See Headstart demo application hsd0016f.
*** 08/04/00 04:03 am *** (CHG: Asg->NEW OWNER)
*** 08/16/00 08:59 am *** (CHG: Sta->31)
*** 08/16/00 08:59 am ***
hsd0016f generates without error using D32 code.
Appears to run and be laid-out OK too (but for a minor problem with the
default menu)
FYI message output as follows:
Form Generator (Windows 95/98/NT) : Version 6.5.34.2.0 - Production on Wed Aug
16 16:56:37 2000
Generating Module 'HSD0016F' (1 of 1)
Loading form template from file system
(t:\cgenf\723200\CGENF61\ADMIN\ofgwebt.fmb)
Loading object library from file system
(t:\cgenf\723200\CGENF61\ADMIN\ofgwebol.olb)
Generating new form module and saving to file system (D:\TESTING\HSD0016F.FMB)
Compiling form executable file (D:\Testing\HSD0016F.fmx) ...
Running Form Builder executable file...
*** 08/16/00 09:00 am ***
CDG-03517 WARNING: Argument HSD0016F.P_REVISION: Module Argument doesn't have
any usages set against it
CDG-01077 WARNING: Window HSD0016F.WINDOW: Implementation source object
QMSSO$WEB_TOOLBAR_WINDOW of correct type not found in Object Library
CDG-00037 WARNING: Window HSD0016F.WINDOW: The scrollable window WINDOW does
not allow vertical scrollbars
CDG-00038 WARNING: Window HSD0016F.WINDOW: The scrollable window WINDOW does
not allow horizontal scrollbars
CDG-01242 WARNING: Bound Item HSD0016F.EMP.ID: HSD_EMPLOYEES.ID enabled and
navigable to allow scrolling on queried values
CDG-01077 WARNING: Bound Item HSD0016F.EMP.CREATED_BY: Implementation source
object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object Library
CDG-01077 WARNING: Bound Item HSD0016F.EMP.CREATION_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.EMP.LAST_UPDATED_BY: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.EMP.LAST_UPDATE_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01092 WARNING: Module Component HSD0016F.SUB: Content canvas items will
not be aligned with tab content canvas items
*** 08/16/00 09:00 am ***
CDG-01427 WARNING: Foreign Key HSD_EMPLOYEES.HSD_EMP_EMP_FK1: FK
HSD_EMP_EMP_FK1 considered mandatory in order to link blocks based on tables
HSD_EMPLOYEES and HSD_EMPLOYEES
CDG-01316 WARNING: Foreign Key HSD_EMPLOYEES.HSD_EMP_EMP_FK1: Foreign key
constraint HSD_EMP_EMP_FK1 in HSD_EMPLOYEES has no enterable items or lookups
CDG-01157 WARNING: Foreign Key HSD_EMPLOYEES.HSD_EMP_EMP_FK1: Foreign key
item(s) in HSD_EMPLOYEES not enterable; those in lookup not a unique key
CDG-01077 WARNING: Bound Item HSD0016F.SUB.CREATED_BY: Implementation source
object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object Library
CDG-01077 WARNING: Bound Item HSD0016F.SUB.CREATION_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.SUB.LAST_UPDATED_BY: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.SUB.LAST_UPDATE_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01092 WARNING: Module Component HSD0016F.PEM: Content canvas items will
not be aligned with tab content canvas items
CDG-03446 WARNING: Module Component Table Usage
HSD0016F.PEM.HSD_PROJECT_ASSIGNMENTS.PAS: Optional constraint 'HSD_PAS_UK1'
contains mandatory column
CDG-01258 WARNING: Module Component Table Usage
HSD0016F.PEM.HSD_PROJECT_ASSIGNMENTS.PAS: Missing mandatory column RATE in
usage of table
CDG-01316 WARNING: Foreign Key
HSD_EMPLOYEES.HSD_PROJECT_ASSIGNMENTS.HSD_PAS_EMP_FK1: Foreign key constraint
HSD_PAS_EMP_FK1 in HSD_PROJECT_ASSIGNMENTS has no enterable items or lookups
CDG-01157 WARNING: Foreign Key
HSD_EMPLOYEES.HSD_PROJECT_ASSIGNMENTS.HSD_PAS_EMP_FK1: Foreign key item(s) in
HSD_PROJECT_ASSIGNMENTS not enterable; those in lookup not a unique key
CDG-01029 WARNING: Unbound Item HSD0016F.PEM.CRI: Visual Attribute
CG$CURRENT_RECORD not found in template form
CDG-01077 WARNING: Bound Item HSD0016F.PEM.CREATED_BY: Implementation source
object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object Library
CDG-01077 WARNING: Bound Item HSD0016F.PEM.CREATION_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.PEM.LAST_UPDATED_BY: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01077 WARNING: Bound Item HSD0016F.PEM.LAST_UPDATE_DATE: Implementation
source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
Library
CDG-01083 WARNING: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_ID: Making item
L_PRJ_ID the first item in List of Values 'CGFK$PEM_PRJ_ID'
CDG-01083 WARNING: Bound Item HSD0016F.CGFK$SUB_DEP_ID.ID: Making item ID the
first item in List of Values 'CGFK$SUB_DEP_ID'
Generation of Module 'HSD0016F' Successful
*** 08/16/00 09:01 am ***
CDG-03500 WARNING: The Generator could not save adjustments to
invalid/unspecified properties
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.EMP: Set the Overflow
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.EMP.HIRE_DATE: Set the Width
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.EMP.CREATION_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.EMP.LAST_UPDATE_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the Overflow
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the Height
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the View Width
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the View
Height property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 30: Set the X Position
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 30: Set the Y Position
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.SUB.HIRE_DATE: Set the Width
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.SUB.CREATION_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.SUB.LAST_UPDATE_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.PEM: Set the Height
property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.PEM: Set the View
Height property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 130: Set the X
Position property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 130: Set the Y
Position property to a default value
CDG-03466 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.ID: Set Insert property
to No because item based on derived column
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.START_DATE: Set the Width
property to a default value
*** 08/16/00 09:02 am ***
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.END_DATE: Set the Width
property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.L_PRJ_START_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.L_PRJ_END_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.CREATION_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.LAST_UPDATE_DATE: Set the
Width property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_NAME:
Set the Update ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_NAME:
Set the Insert ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_ID: Set
the Update ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_ID: Set
the Insert ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_PRJ_TYPE: Set the Update ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_PRJ_TYPE: Set the Insert ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_START_DATE: Set the Update ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_START_DATE: Set the Insert ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_END_DATE: Set the Update ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item
HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_END_DATE: Set the Insert ? property to a
default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_BUDGET:
Set the Update ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_BUDGET:
Set the Insert ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$SUB_DEP_ID.ID: Set the
Query ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$SUB_DEP_ID.L_DEP_NAME:
Set the Update ? property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$SUB_DEP_ID.L_DEP_NAME:
Set the Insert ? property to a default value
Generation Complete
*** 09/20/00 08:19 pm *** (CHG: Sta->91)
*** 10/26/00 05:14 am *** (CHG: Sta->11)
*** 10/26/00 05:14 am ***
I have re-opened this bug as I am still able to reproduce the problem with
Designer 6i Release 2.
Test case is Headstart Demo application form HSD0016F.
I noticed that when you generated the form above, you did not use the
Headstart object library, but used the Designer object library instead.
Could you try generating the form using the Headstart object library and
template package.
The version of headstart you have has the workaround in place in this form.
Therefore, you will need to edit the module before you generate it.
In the module componenet EMP, change the Placement property from New Tab
Canvas Page to New Content Canvas.
(Due to another bug, you should also blank out the height on all displayed
columns of type date or datetime in all 3 module components.)
Generate the module.
I get the following results:
Form Generator (Windows 95/98/NT) : Version 6.5.40.3.0 - Production on Thu Oct
26 14:05:07 2000
Generating Module 'HSD0016F' (1 of 1)
Loading form template from file system
(C:\Headstart\hsd65\hst\admin\qmstpl65.fmb)
Loading object library from file system
(C:\Headstart\hsd65\hst\admin\qmsolb65.olb)
CDG-01382 WARNING: Module HSD0016F: Expanding popup 2 to fit 10 row(s)
************ this is the problem ********************
CDG-01281 ERROR: Module HSD0016F: Oracle Forms binary file for BLOCKS ON TABS
has NOT been created
************ end of problem ********************
CDG-03517 WARNING: Argument HSD0016F.P_REVISION: Module Argument doesn't have
any usages set against it
...various other warnings...
CDG-01083 WARNING: Bound Item HSD0016F.CGFK$SUB_DEP_ID.ID: Making item ID the
first item in List of Values 'CGFK$SUB_DEP_ID'
Generation of Module 'HSD0016F' Successful
Generation Complete
*** 10/30/00 12:58 am *** (CHG: FixBy->6.5.60)
*** 12/21/00 07:34 am *** (CHG: Asg->NEW OWNER)
*** 01/22/01 04:52 am *** (CHG: DevPri->1)
*** 01/24/01 11:40 am ***
I have finally been able to pin down why this is happening with Headstart
generated applications and not with applications using the default Designer
object library.
In our object library, the standard source object CGSO$BLOCK has a number of
block level triggers, and one item. These are standard and need to be on
every 'normal' block generated with Headstart.
However, this makes it impossible to generate a form with block 1 on the
content canvas followed by 2 or more blocks on tabbed canvases on the same
page.
If I remove the block level triggers and item, I can generate this form
(though of course this is useless to me because I lose all Headstart
functionality).
Furthermore, if I try to explicitly direct Designer to use another object from
the object library, by recoding a Template/Library Object on the module
components, the form generator ignores this and uses CGSO$BLOCK anyway.
Suggested workaround:
- copy qmsolm65.fmb and qmsolb65.olb to another name (e.g. qmswrkrn.fmb and
qmswrkrnd.olb
- in qmswrkrn.fmb add a new block, qmsso$save_triggers. Make this block an
exact copy of cgso$block including triggers and item.
- change the blocks that used to subclass from cgso$block to now subclass from
qmsso$save_triggers
- in cgso$block, remove the triggers and item
- generate the qmswrkrnd.olb object library
- for each module in Designer that requires the blocks on tab layout, go to
the form level preferences and set the standard object library to qmswrkrn.olb
- generate the form(s)
- do a post-generation modification to subclass the data blocks from the
qmsso$save_triggers block
I'm glad to see you've raised the Development Priority to 1. This is probably
the single most popular layout for a master with multiple details, and it is
really crippling not to be able to generate this layout. We are already
getting complaints from our beta clients.
Just a reminder, you can duplicate this bug using the Headstart demo
application form hsd0016f. You must change module component EMP to use layout
style 'New Content Canvas'. (It is currently set to New Tab Page.) You must
also be sure to use the Headstart object library and template form when you
generate.
*** 01/25/01 07:05 am ***
Found a much simpler workaround! In object library maintenance form
qmsolm65.fmb, set Visible property of cgso$block.qms$block_info to Yes. Then
re-create qmsolb65.olb object libary. Form will now generate.
Since this is the second problem we have found in Headstart related to having
a hidden item in cgso$block, for Headstart 6i I am eliminating this item.
In the meantime, use this workaround for Headstart 6i beta and for Patch 13.
*** 03/02/01 06:18 am *** (CHG: Asg->NEW OWNER)
*** 12/07/01 08:58 am *** (CHG: FixBy->9.1 DevPri->3)
*** 12/10/01 05:28 am *** (CHG: DevPri->5)
*** 12/10/01 08:51 am *** (CHG: FixBy->0) -
Hi list,
I have installed Forms and Reports Standalone 10g on AIX system.
My forms are developed on windows.
I can compile and test successfully my forms on AIX.
I would like to know if it is possible (and how) to compile forms with an other user than the oracle user where standalone is installed.
I have tested it with a user with dba group, but I always have the FRM-91500 error message (I don't know how to trace the compiling process).
Thanks for any reply.
Regards.
Didier QUIMERCHHi Craig,
from another source I got the following suggestion, which I am hoping to try out in the test environment ASAP:
AIXTHREAD_SCOPE=S The default value for this variable is P, which signifies process-wide contention scope (M:N). For Java applications, you should set this value to S, which signifies system-wide contention scope (1:1).
AIXTHREAD_MUTEX_DEBUG=OFF Maintains a list of active mutexes for use by the debugger.
AIXTHERAD_COND_DEBUG=OFF Maintains a list of condition variables for use by the debugger.
AIXTHREAD_RWLOCK_DEBUG=OFF Maintains a list of active mutual exclusion locks, condition variables, and read-write locks for use by the debugger. When a lock is initialized, it is added to the list if it is not there already. This list is implemented as a linked list, so searching it to determine if a lock is present or not has a performance implication when the list gets large. The problem is compounded by the fact that the list is protected by a lock, which is held for the duration of the search operation. Other calls to the pthread_mutex_init() subroutine must wait while the search is completed. For optimal performance, you should set the value of this thread-debug option to OFF. Their default is ON.
SPINLOOPTIME=500 Number of times that a process can spin on a busy lock before blocking. This value is set to 40 by default. If the tprof command output indicates high CPU usage for the check_lock routine, and if locks are usually available within a short amount of time, you should increase the spin time by setting the value to 500 or higher.
Cheers,
Morten -
Problems with timer (forms 6i)
Hello everyone,
I am having the following problem in a form has a timer that is checking for new records in a table, this form can not be closed because it has certain features, so when you need to navigate to another form there is an effect visual undesirable, as if the form was "flashing", is there anything that can be done to alleviate or even solve it?Hello Craig, thanks for attention,
This form has existed in our client, we are making a change, the update of the tables is to update the status of a call, we have a program that checks for incoming calls and record in a table, and the form with timer need to be checking this table.
The system has many forms, but usually only one is open along with that, but the form that has the timer is so large that it has compiled more than 3mb.
As a shared library could help me here? -
Right now I have this script to compile forms
ORACLE_HOME=/u01/app/ora_fr
export ORACLE_HOME
PATH=$PATH:/u01/app/ora_fr/bin
export PATH
FORMS_PATH=/u01/app/ora_fr/forms:/u01/app/ora_fr/forms/prod
export FORMS_PATH
TNS_ADMIN=$ORACLE_HOME/network/admin
export TNS_ADMIN
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
ORACLE_TERM=vt220
export ORACLE_TERM
frmcmp_batch.sh module=/u01/app/ora_fr/forms/devl/*platelet_irradiation_log.fmb* module_type=FORM compile_all=yes userid=hbc_qa/[email protected]
The problem is every time I compile a new form I need to vi this and change the module name.
Is there a way that I can give a parameter kind of thing here and add the fmb name when I call the script?
Thanks in advance
AnuHere is a script I have used to generate (under unix) all the forms in a folder. It uses f90genm, but you can modify the script to call whatever compile command you need.
<p>There is a unix script posted here:<br>
Re: How to generate multiple files using f90genm ?
(keywords: genform compall ) -
Problem in tabular form based on dynamic view and pagination
Hi All,
I have a manual tabular form based on a dynamic view. The view fetches the records based on search criteria given by the user in all cases. But this view fetches ALL records when user clicks on pagination, without considering the search criteria. This is the problem I am facing.
I am doing the following:
Since tabular form does not support pl/sql function returning query, I cannot use a table directly. I need my results based on search criteria selected by user. Hence I created a dynamic view and used a "INSTEAD OF UPDATE" trigger to update the table.
I use a set bind variables procedure, on load before header for setting the variables.
This view fetches the correct data based on user search always. It creates a problem only in one situation, when using pagination in the report.
The example can be found at:
http://apex.oracle.com/pls/otn/f?p=19399:1:
username = [email protected]
pwd = kishore
Here if "manager name" is entered as test, we get 5 records in "Summary of requests" report and 5 records in "Inactive Requests" report. When user clicks on Pagination in any of the reports, ALL the 7 records get fetched in "Summary of Requests" and 6 records in "Inactive Requests". How can I overcome this problem?? The report must consider the search variables even when pagination occurs.
Is this because, the inbuilt "html_PPR_Report_Page" executes the region query once again by considering all search variables as NULL?
Backend Code is at:
http://apex.oracle.com/pls/otn/
workspace: sekhar.nooney
Username :[email protected]
pwd: kishore
application id = 19399
My region code is something like:
select *
from regadm_request_v
where access_type = :F110_REGADM
and status <> 'INACTIVE'
order by request_id
My view code is:
CREATE OR REPLACE VIEW REGADM_REQUEST_V
AS
SELECT *
FROM REGREGOWNER.REGADM_REQUEST
WHERE upper(employee_name) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_EMPLOYEE_NAME),'%')||'%'
AND upper(manager_name) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_MANAGER_NAME),'%')||'%'
AND upper(employee_sunetid) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_EMPLOYEE_SUNET_ID),'%')||'%'
AND upper(manager_sunetid) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_MANAGER_SUNET_ID),'%')||'%'
AND upper(request_date) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_REQUEST_DATE),'%')||'%'
AND upper(USAGE_AGREEMENT_RECVD) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_USAGE_AGREMNT_RECVD,'~!@',NULL,REGADM_REQUEST_PKG.GET_USAGE_AGREMNT_RECVD)),'%')||'%'
AND upper(STATUS) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_STATUS,'~!@',NULL,REGADM_REQUEST_PKG.GET_STATUS)),'%')||'%'
AND upper(REQUEST_APPROVED) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_REQUEST_APPROVED,'~!@',NULL,REGADM_REQUEST_PKG.GET_REQUEST_APPROVED)),'%')||'%'
AND upper(nvl(APPROVAL_DATE,sysdate)) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_APPROVED_DATE),'%')||'%'
AND upper(APRVL_REQUEST_SENT) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_EMAIL_APPROVERS,'~!@',NULL,REGADM_REQUEST_PKG.GET_EMAIL_APPROVERS)),'%')||'%'
AND upper(NOTIFY_APPROVED) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_APPROVAL_NOTIFICATION,'~!@',NULL,REGADM_REQUEST_PKG.GET_APPROVAL_NOTIFICATION)),'%')||'%'
I would be glad for any suggestions.
Andy/Varad any ideas? You both helped me a lot on my problems for the same application that I had faced before in More Problems in Tabular form - Please give me suggestions.
Thanks,
SumanaHi Andy,
The view and the package for setting bind variables work properly in my entire application other than the pagination. A pity that I came across this only now :(
I have used this same method for holding variables in another application before, where I needed to print to PDF. I used this approach in the other application because my queries were not within the APEX character limit specified for the "SQL Query of Report Query shared component".
In this application, I initially had to fetch values from 2 tables and update the 2 tables. Updateable form works only with one table right? Hence I had created a view. Later the design got changed to include search and instead of changing the application design I just changed the view then. Still later, my clients merged the 2 tables. Once again I had just changed my view.
Now, I wanted to know if any method was available for the pagination issue (using the view itself). Hence I posted this.
But as you suggested, I think it is better to change the page design quickly (as it would be much easier).
If I change the region query to use the table and the APEX bind parameters in the where clause as:
SELECT *
FROM REGADM_REQUEST
WHERE upper(employee_name) LIKE '%'||nvl(upper(:P1_EMPLOYEE_NAME),'%')||'%' .....
I also changed the ApplyMRU to refer to the table.
Here the pagination issue is resolved. But here the "last Update By" and "Last Update Date" columns do not get updated with "SYSDATE" and "v(APP_USER)" values, when update takes place. Even if I make the columns as readonly text field, I am not sure how I can ensure that SYSDATE and v('APP_uSER') can be passed to the columns. Any way I can ensure this? Please have a look at the issue here: http://apex.oracle.com/pls/otn/f?p=19399:1:
I have currently resolved the "last update" column issue by modifying my view as:
CREATE OR REPLACE VIEW REGADM_REQUEST_V
AS
SELECT *
FROM REGADM_REQUEST
I modified my region query to use APEX bind parameters itself as:
SELECT *
FROM REGADM_REQUEST_V
WHERE upper(employee_name) LIKE '%'||nvl(upper(:P1_EMPLOYEE_NAME),'%')||'%' .....
And I use the "INSTEAD OF UPDATE" trigger that I had initially written for update. The code is:
CREATE OR REPLACE TRIGGER REGADM_REQUEST_UPD_TRG
INSTEAD OF UPDATE
ON REGADM_REQUEST_V
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
BEGIN
UPDATE REGREGOWNER.REGADM_REQUEST
SET MANAGER_EMAIL = :NEW.MANAGER_EMAIL
, EMPLOYEE_EMAIL = :NEW.EMPLOYEE_EMAIL
, STATUS_UPDATE_DATETIME = SYSDATE
, USER_UPDATE_ID = (SELECT v('APP_USER') FROM DUAL)
WHERE REQUEST_ID = :OLD.REQUEST_ID;
END;
Please let me know how I can resolve the "last update" column issue using the table itself. (Just for my learning)
Thanks,
Sumana -
PDF Attachment problem in Adobe form and send mail is not working
Dear Experts,
Recently i'm facing a problem regarding Adobe form PDF attachment and sending an e-mail along with the PDF attachment to customer mail id.But when i execute the RFC Function module, in customer side no mail is comming. And when i check the transaction SBWP then i found that the PDF attachment hold only 1KB of data which is not right.For that i'm sending my code which i was declared in my program.Can anybody please help me to overcome this problem?
Warm Regards,
sameek.
CLASS cl_bcs DEFINITION LOAD.
DATA:
lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
lo_send_request = cl_bcs=>create_persistent( ).
data: t_att_content_hex type SOLIX_TAB.
DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
DATA: lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
l_send type ADR6-SMTP_ADDR value 'Already provided an e-mail address here'.
DATA: lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
Message body and subject*
DATA:
lt_message_body TYPE bcsy_text VALUE IS INITIAL,
lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
APPEND 'Dear,' TO lt_message_body.
append ' ' to lt_message_body.
APPEND 'Please fill the attached form and send it back to us.'
TO lt_message_body.
append ' ' to lt_message_body.
APPEND 'Thank You,' TO lt_message_body.
lo_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = lt_message_body
i_subject = 'Customer Information Form').
TRY.
lo_document->add_attachment(
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = 'Customer Information Form'
I_ATTACHMENT_SIZE =*
I_ATTACHMENT_LANGUAGE = SPACE*
I_ATT_CONTENT_TEXT =*
I_ATTACHMENT_HEADER =*
i_att_content_hex = t_att_content_hex ).
CATCH cx_document_bcs INTO lx_document_bcs.
ENDTRY.
Add attachment*
Pass the document to send request*
lo_send_request->set_document( lo_document ).
Create sender*
lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
lo_sender = cl_sapuser_bcs=>create( sy-uname ).*
Set sender*
lo_send_request->set_sender(
EXPORTING
i_sender = lo_sender ).
Create recipient*
lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).*
Set recipient*
lo_send_request->add_recipient(
EXPORTING
i_recipient = lo_recipient
i_express = 'X' ).
lo_send_request->add_recipient(*
EXPORTING*
i_recipient = lo_recipient*
i_express = 'X' ).*
Send email*
lo_send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = lv_sent_to_all ).
COMMIT WORK.
message 'The Customer Information form has been emailed to the Employee' type 'I'.I am also facing issue with email send .
apex 4.1.1 oracle 11g
create or replace procedure email ( p_email in varchar2)
is
l_workspace_id number;
l_subject varchar2(2000);
l_body clob;
l_body_html clob;
l_email varchar2(40);
begin
l_workspace_id := apex_util.find_security_group_id (p_workspace => 'xyz');
apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
l_email:= p_email;
l_body := ' ';
l_subject := 'You have new tasks';
--if l_email=:P3_CONFIRM_EMAIL_ADDRESS is not null then
-- email( l_email =>:P3_CONFIRM_EMAIL );
-- end if;
l_body_html := '<p />The following tasks have been added.';
apex_mail.send (
p_to => l_email ,
p_from => '[email protected]',
p_body => l_body,
p_body_html => l_body_html,
p_subj => l_subject );
APEX_MAIL.PUSH_QUEUE;
end; I also check the log and queue but both are empty,
select * from
apex_mail_queue
select * from
apex_mail_log Kindly suggest what to do ?
I also created a process in apex , which call this procedure and pass the email address entered by user.
Maybe you are looking for
-
Failed to Open the Connection in InfoView
Hello, I have been unable to get Crystal Reports to run on InfoView using a third database. I have successfully added and run reports on InfoView which use two other databases, and I cannot figure out why reports using the third database will not ru
-
I am trying to log data from 4 voltage input signal using labview, but when i use DAQ assiatant i am able to log data from one signal at a time only.I am trying to get all 4 input data to logged in a single file againt time. I am new to Labview, I ne
-
RWB - Process Monitoring - Statistical Data
Experts, I've just discovered the abilities of PMI (via RWB). now, when i monitor interface (end-to-end) activties (via Process Monitoring) i have few un-solved questions, what is the meaning of status "Open" (for displayed process)? i haev 2 process
-
email (OE) links won't load often firefox won't start and I have to go to processes in task manager and close firefox == This happened == Every time Firefox opened == 1-2 wks--don't know of any new thing; several AV programs all okay
-
Installed 10.6 on a partition, can't migrate my iTunes logins.
Hi, I recently installed 10.6 on a partition, and wanted to keep it a clean install rather than using the migration assistant. I copied over the iTunes library with no problem, however have found that it has not copied my Authorizations. Of course I