home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!psinntp!psinntp!vitro.com!v7.vitro.com!fams09
- From: fams09@v7.vitro.com
- Newsgroups: comp.databases.oracle
- Subject: Re: Forms3 ERR - unable to INSERT record
- Message-ID: <1992Jul23.081336.201@v7.vitro.com>
- Date: 23 Jul 92 08:13:36 -0500
- References: <1992Jul22.105329.244@falcon.navsses.navy.mil> <dewey-220792114200@sebastian.centerline.com>
- Followup-To: comp.databases.oracle
- Keywords: forms 3.0
- Organization: Vitro Corporation
- Lines: 23
-
- In article <dewey-220792114200@sebastian.centerline.com>, dewey@centerline.com (Devan F. Dewey) writes:
- > In article <1992Jul22.105329.244@falcon.navsses.navy.mil>,
- > huynh@falcon.navsses.navy.mil wrote:
- >>
- >> For every execution, after hitting the commit key, I keep getting the error:
- >> FRM 40508 : ORACLE ERROR -- unable to INSERT record
- >>
- >> Any suggestions would be appreciated. Many thanks.
- >
- > You cannot use Forms to insert or update data in a view. Forms acutally
- > uses the rowid field when performing these tasks and there is no rowid
- > field for a view. Views are only useful for query only blocks.
- >
- > You are going to have to break up the blocks so that the block you which to
- > insert from has a base table which is a true table, not a view.
-
- or use the on-insert/on-update triggers to accomplish the same. refer
- to the Oracle document "Advanced SQL*Forms Techniques Version 3.0". Chapter 6
- has a section titled "Committing Data through a Join View" -- sounds exactly
- like what you want to do. Bon chance.
-
- Woody Chin
- UVa.
-