Forms 4.5 on Oracle7 and Oracle8

Forms 4.5 on Oracle7 and Oracle8

Post by Serge Navrotsk » Wed, 30 Dec 1998 04:00:00




> Hi!

> I try to upgrade my database from 7.3 to 8.04. Everything looks fine, but
> when i start to test my forms run into a problem, here is test case:

> On Oracle7 (tested on SCO 7.3.2.3.0, VMS 7.3.3.4.0, VMS 7.3.3.6.0):
> Connect scott/tiger. Insert new record and commit it. Update field dname to
> SCOTT (just retype SCOTT) and commit agaain. Database save record.

> On Oracle7 (tested on WindowsNT Intel 8.0.4.0.0., WindowsNT Alpha
> 8.0.4.1.0):
> Connect scott/tiger. Insert new record and commit it. Try to update field
> dname. Got an error: FRM-40501: Oracle error. unable to reserve record for
> update or delete. ORA-01410: invalid ROWID.

> Problem is in trigger on table DEPT, which change column DNAME. We have a
> lot of forms and tables with triggers and we don't won't to change that
> logic.

> Any help would be appreciated.

> Thanks

> Trigger:

> CREATE OR REPLACE TRIGGER SCOTT.BIUE_DEPT
> BEFORE  INSERT  OR  UPDATE
> ON SCOTT.DEPT
> REFERENCING OLD AS old NEW AS new
> FOR EACH ROW
> DECLARE
> BEGIN
>    :NEW.dname := USER;
> END;

> Form:

> --

> Boris
> -------------------------------
> Boris Oblak
> ABAKUS Kranj, d.o.o.

>                   Name: tcommit.fmb
>    tcommit.fmb    Type: unspecified type (application/octet-stream)
>               Encoding: x-uuencode

Try to set properties Primary_Key = true and Key_Mode = Non_Updateable
for each base block,
after it, set Primary_Key=true on appropriate items...

  sergey.vcf
< 1K Download
 
 
 

1. Forms 4.5 on Oracle7 and Oracle8

Boris, that's know issue while using forms 4.5 or forms 3.0 against
Oracle 8 because of change of rowid's format. In fact forms runtime
uses rowid to reserve record for update. You should get and apply
patches to Oracle Forms.
BTW, don't post binaries.

HTH,
--

Just my private opinion.

2. ADO: Find limitation. Say it ain't so.

3. Help needed, SVP, to connect Forms 4.5 to Personnal Oracle7

4. Caculating Repeating Fields?

5. Portage d'une application de FORMS 3.0 en FORMS 4.5

6. Editing Fields

7. Migrating SQL*Forms 3.0 to Forms 4.5, 5 or 6

8. Visual Foxpro newsgroup?

9. Forms 4.5: Start Form Maximized

10. Forms 4.5 to Forms 6

11. Forms 3.0 to Forms 4.5

12. Running 10.7 Apps GUI form in Forms 4.5 outside Apps

13. Saving forms in database in Forms 4.5