home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / oracle / 1128 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.5 KB

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