0% found this document useful (0 votes)
273 views

Solution For Cannot Acces Help On Dev 6i Using Windows 7 x64

This document provides information about using a Java bean component called KeyTyped to intercept each key typed in an Oracle Forms text field without using a timer. It describes how to configure the bean in Forms, the properties that can be set and read from the bean, and the events it can raise. An example dialog module is also included to demonstrate its use.

Uploaded by

marcosperez81
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
273 views

Solution For Cannot Acces Help On Dev 6i Using Windows 7 x64

This document provides information about using a Java bean component called KeyTyped to intercept each key typed in an Oracle Forms text field without using a timer. It describes how to configure the bean in Forms, the properties that can be set and read from the bean, and the events it can raise. An example dialog module is also included to demonstrate its use.

Uploaded by

marcosperez81
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

http://sikathabis.wordpress.

com/category/oracle/dev6i/

Solution for cannot acces help on dev 6i using windows


7 x64
Filed under: dev6i,oracle,windows — sikathabis @ 7:44 am

Tags: dev6i, oracle, win7, x64

Solution for “cannot acces help on dev 6i / oracle developer 6i using windows 7 x64″

Because windows 7 x64 doesn’t containt WinHlp32.exe,  then you must have the file.

Use this link to get them

http://www.ziddu.com/download/22213893/Windows6.1-KB917607-x86.zip.html

http://www.ziddu.com/download/22213894/Windows6.1-KB917607-x64.zip.html

http://www.softpedia.com/get/System/OS-Enhancements/WinHlp-for-Windows7.shtml

Leave a Comment
March 22, 2013

Example Format mask for varchar2 (PL/SQL or Oracle


Developer 6i)
Filed under: dev6i,oracle — sikathabis @ 2:45 pm

Tags: dev6i, oracle, pl/sql

For example if you want to automate format mask 0000009 or 0000000 for a field on

oracle dev6i (FORM) which that field not number, but varchar2 (alfanumerik)

PL/SQL how to create format mask on varchar2 (example field length 7 char)

if length(:NO_SERI)<7 then
   begin
     :NO_SERI := LTRIM(TO_CHAR(TO_NUMBER(:NO_SERI),'0000009'));
   exception when others then
         :NO_SERI := substr('0000000',1,7-length(:NO_SERI))||:NO_SERI;
   end;
end if;   

Input
A
200

Result
000000A
0000200

Leave a Comment
December 5, 2012

How to automate change x,y position item on database


block (oracle developer 6i)
Filed under: dev6i,oracle — sikathabis @ 11:47 am

Tags: dev6i, oracle

For example I want to set x,y position for all fields inside certain
canvas

PROCEDURE SET_POSISI(cvs_name varchar2, block_name varchar2, incx


number, incy number) IS
vName VARCHAR2(50) := block_name;
vFirstItem VARCHAR2(200);
vLastItem VARCHAR2(200);
vCurrItem VARCHAR2(200);
BEGIN
GO_BLOCK(vName);
vFirstItem := vName||'.'||Get_Block_Property(vName,FIRST_ITEM);
vCurrItem := vFirstItem;
vLastItem := vName||'.'||Get_Block_Property(vName,LAST_ITEM);
<<BLOCK_LIST>>
WHILE ( vCurrItem != vLastItem ) LOOP
if GET_ITEM_PROPERTY(vCurrItem,CANVAS_NAME)=cvs_name then
SET_ITEM_PROPERTY(vcurritem,POSITION, GET_ITEM_PROPERTY(vcurritem,X_POS)
+incx, GET_ITEM_PROPERTY(vcurritem,Y_POS)+incy);
end if;
vCurrItem := vName||'.'|| Get_Item_Property(vCurrItem,NEXTITEM);
GO_ITEM(vCurrItem);
END LOOP BLOCK_LIST;
END;

If the item including Radio button, you can add this example on
BLOCK_LIST looping
IF vCurrItem =vFirstItem and block_name='CIS_ALAMAT' then

SET_RADIO_BUTTON_PROPERTY('CIS_ALAMAT.KD_KOTA2','DALAM_IBUKOTA',POSITION,
GET_RADIO_BUTTON_PROPERTY('CIS_ALAMAT.KD_KOTA2','DALAM_IBUKOTA',X_POS)
+incx,
GET_RADIO_BUTTON_PROPERTY('CIS_ALAMAT.KD_KOTA2','DALAM_IBUKOTA',Y_POS)
+incy);
SET_RADIO_BUTTON_PROPERTY('CIS_ALAMAT.KD_KOTA2','LUAR_IBUKOTA',POSITION,
GET_RADIO_BUTTON_PROPERTY('CIS_ALAMAT.KD_KOTA2','LUAR_IBUKOTA',X_POS)
+incx,
GET_RADIO_BUTTON_PROPERTY('CIS_ALAMAT.KD_KOTA2','LUAR_IBUKOTA',Y_POS)
+incy);
end if;

references : https://sites.google.com/site/craigsoraclestuff/orac

Leave a Comment
October 27, 2011
how to fix runtime report oracle developer 6i for windows
64 bit
Filed under: dev6i,oracle — sikathabis @ 6:27 am

Tags: dev6i, oracle

Replace nn60.dll and nnb60.dll on bin directory developer 6i with patch 3 (attachment)

explanation from here

http://halimdba.blogspot.com/2009/05/oracle-forms-or-reports-6i-in-windows.html

multiply:nn60.zip

multiply:nnb60.zip

ziddu:nn60.zip

ziddu:nnb60.zip

Leave a Comment
September 25, 2011

Keypress on Oracle Forms  6i


Filed under: dev6i,oracle — sikathabis @ 7:54 pm

Tags: dev6i, oracle

Oracle Forms is a block mode data handling system. It does not do “character by

character”. Use a Java thingy. There are examples, and links to examples, on the Oracle

Forms web site.

David

For web-based apps you can use a pjc

http://sheikyerbouti.developpez.com/forms-pjc-bean/pages/keystrokeinterceptor.htm
 

Comments (1)
July 18, 2011

forms60.vrf(78): OS_ERROR while getting value  Path


Filed under: dev6i,oracle — sikathabis @ 6:01 am

Tags: dev6i, oracle

links : http://forums.oracle.com/forums/thread.jspa?threadID=650537

Although this Q is not so “hot” anymore, several days before I’ve ran into same problem.

By searching the google for “forms60.vrf” I’ve found just this post with question and no

good answers.

Since I’ve found the solution, I think it’s OK to share it with others.

Of course that Forms6i is not something of big interest these days, but there are still some

of us that need to install Forms6i Developer for various reasons (maintaining old

applications, preparations for migration to other technology, etc.)

I’ve tried installation with disabled anti virus (to tryout already suggested hint) , it

didn’twork for me – installation failed with the same error.

OK, here is what I’ve done.

I’ve modified my PATH environment variable to “shorter” string, since I remember similar

issues with several “older” (more…)

Comments (2)
June 6, 2011

Filed under: dev6i,oracle — sikathabis @ 9:35 am

Tags: dev6i, oracle

Happy 2011 to everyone. I have been using TEXT_IO.FOPEN (‘LPT1′, ‘w’) in oracle form to

sent text to LPT port printer without having any problem but nowadays most PC come with

USB port and hence my programs failed to execute such command. Does anyone know or

has any idea how to use TEXT_IO.FOPEN to sent text to USB printer direct?

Thank you and best regards.


TH

Hi TH Cheng

If you are using a new computer with an existing printer that still has a parallel connector,

you could buy a USB to Centronics cable. When connected, it shows up as a parallel port in

the hardware list.

(more…)

Leave a Comment
January 14, 2011

Contoh Delete_List_Element
Filed under: dev6i,oracle — sikathabis @ 11:10 am

Tags: dev6i, oracle

Jika List KD_JK_WKT1 mempunyai element list :

1. ‘Tahun’,’T’

2. ‘Bulan’,’B’

3. ‘Hari’,’H’

4. null

Kemudian di delete Hari secara manual, menjadi :

1. ‘Tahun’,’T’

2. ‘Bulan’,’B’

3. null

4. null

Clear_List(‘BLK_TEMP.KD_JK_WKT1′);

DELETE_LIST_ELEMENT(‘BLK_TEMP.KD_JK_WKT1′,2);

ADD_LIST_ELEMENT(‘BLK_TEMP.KD_JK_WKT1′, 1, ‘Tahun’, ‘T’);

Hasilnya adalah :
1. ‘Tahun’,’T’

2. ‘Bulan’,’B’

Leave a Comment
December 21, 2010

Tutorial forms reports developer  6i


Filed under: dev6i,oracle — sikathabis @ 6:08 am

Tags: dev6i, oracle

Download via wordpress forms_reports_update 700 KB

Download via Ziddu forms_reports_update 700 KB

Leave a Comment
December 16, 2010

Example Data Block Forms to  Excel


Filed under: dev6i,oracle — sikathabis @ 5:39 am

Tags: oracle

PROCEDURE pr_Forms_to_Excel(p_block_name IN VARCHAR2 DEFAULT

NAME_IN(‘system.current_block’)) IS

– Declare the OLE objects

application OLE2.OBJ_TYPE;

workbooks OLE2.OBJ_TYPE;

workbook OLE2.OBJ_TYPE;

worksheets OLE2.OBJ_TYPE;

worksheet OLE2.OBJ_TYPE;

cell OLE2.OBJ_TYPE;

range OLE2.OBJ_TYPE;

range_col OLE2.OBJ_TYPE;

– Declare handles to OLE argument lists

args OLE2.LIST_TYPE;

– Declare form and block items

form_name VARCHAR2(100);
f_block VARCHAR2(100);

l_block VARCHAR2(100);

f_item VARCHAR2(100);

l_item VARCHAR2(100);

cur_block VARCHAR2(100) := NAME_IN(‘system.current_block’);

cur_item VARCHAR2(100) := NAME_IN(‘system.current_item’);

cur_record VARCHAR2(100) := NAME_IN(‘system.cursor_record’);

item_name VARCHAR2(100);

baslik VARCHAR2(100);

row_n NUMBER;

col_n NUMBER;

filename VARCHAR2(100);

(more…)

Comments (1)
Next Page »
KEY TYPED

Purpose

This is a Javabean component that allows to intercept each key typed in a text field

Then, there is no need to use a Forms timer to intercept each key typed.

The java code

      Get the Java code here

Forms configuration

 . Copy the keytyped.jar file in the /forms/java directory


 . Edit the /forms/server/formsweb.cfg file to add the jar file to the archive_jini variable

archive_jini=f90all_jinit.jar,……,keytyped.jar

Implementation Class property


    oracle.forms.fd.KeyTyped

Properties that can be set


The text of the item
set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETTEXT', 'the_text');

The cursor position

set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETPOS', 'n');

The item colors

set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETBG', 'rgb value');


set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETFG', 'rgb value');

e.g.
set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETBG', '200,10,0');

Properties that can be read


The text of the item

get_custom_property( 'BLOCK.BEAN_ITEM', 1, 'GETTEXT', '');

The last character typed

get_custom_property( 'BLOCK.BEAN_ITEM', 1, 'GETCHAR', '');

The keyboard state modifier

get_custom_property( 'BLOCK.BEAN_ITEM', 1, 'GETMODIFIER', '');

Events that can be raised by the bean


A character was typed

KEYTYPED

The sample dialog

 Download the KeyTyped.zip file


 Unzip the KeyTyped.zip file
 Copy the keytyped.jar file in your /forms/java/ directory
 Edit your /forms/server/formsweb.cfg file
 Open the KEYTYPED.fmb module (Oracle Forms 9.0.2)
 Compile all and run the module

You might also like