home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / oracle / 1110 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.3 KB  |  28 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!cheops!scammell!srh
  3. From: srh@scammell.ecos.tne.oz.au (Shane Hocking)
  4. Subject: Re: Forms3 ERR - unable to INSERT record
  5. Message-ID: <1992Jul22.232706.17890@scammell.ecos.tne.oz.au>
  6. Organization: Telecom Australia, Information Technology Development
  7. References: <1992Jul22.105329.244@falcon.navsses.navy.mil> <dewey-220792114200@sebastian.centerline.com>
  8. Date: Wed, 22 Jul 1992 23:27:06 GMT
  9. Lines: 17
  10.  
  11. >You cannot use Forms to insert or update data in a view. Forms acutally
  12. >uses the rowid field when performing these tasks and there is no rowid
  13. >field for a view. Views are only useful for query only blocks.
  14. >
  15. >You are going to have to break up the blocks so that the block you which to
  16. >insert from has a base table which is a true table, not a view.
  17. >
  18. >                             
  19. You can use forms to insert, update, or delete data through a view (defined
  20. as a base table in forms) even if that view is a multi table join. You must
  21. however control the locking , inserting,updating and deleting through the 
  22. following triggers.  ON-LOCK,ON-INSERT, ON-UPDATE & ON-DELETE.
  23. This is a useful feature in Client-Server programming to minimise the
  24. number of packets required to display a "block" of information.
  25.  
  26. -- 
  27. Shane Hocking       srh@scammell.ecos.tne.oz.au
  28.