Note that there are some explanatory texts on larger screens.

plurals
  1. PORelations with view oracle forms
    primarykey
    data
    text
    <p>I have two blocks on my form. The firs block: <strong>"vista_clientes"</strong>, and the second <strong>"pedidos"</strong>. The first is based on a <strong>view</strong>, and the second on a <strong>table</strong>.</p> <p>I go to <strong>relations</strong> on my first block, and press "<em>create</em>", then, I choose "<em>pedidos</em>" how <em>detail block</em>. I choose the common field (primary key) and create the relations.</p> <p>I have some errors when I go to execute this, <strong>depends of the delete way that I choose</strong>, I have three options, isolated, cascade and no-isolated, I can open the fmx file with cascade or no-iolated, when I set the isolated, I can open the fmx but the execute query from "vista_clientes" doesn't work.</p> <p>The error is that my vista clientes Alias dont have a proper ID and the method REF from the automatically created with the relation give this error.</p> <p><strong>Relation Screen's Options</strong>: <a href="http://imageshack.us/photo/my-images/5/capturazvg.jpg/" rel="nofollow">http://imageshack.us/photo/my-images/5/capturazvg.jpg/</a></p> <p><strong>Error on Cascade (PRE-DELETE TRIGGER)</strong>: <a href="http://imageshack.us/photo/my-images/689/capturahi.jpg/" rel="nofollow">http://imageshack.us/photo/my-images/689/capturahi.jpg/</a></p> <p><strong>Error on Isolated</strong>: This allows open the canvas, but not works - Execute Query ERROR 40505 or If I use DISPLAY_ERROR I see this: <a href="http://imageshack.us/photo/my-images/17/capturack.jpg/" rel="nofollow">http://imageshack.us/photo/my-images/17/capturack.jpg/</a></p> <p><strong>Error on Non-Isolated</strong>: <a href="http://imageshack.us/photo/my-images/703/capturaoej.jpg/" rel="nofollow">http://imageshack.us/photo/my-images/703/capturaoej.jpg/</a></p> <p>I really need help with this. Thanks a lot! :) </p> <p>PD: Sorry my english! I can add more details or screenshots if It will help to solve this problem.</p> <pre><code>CREATE OR REPLACE VIEW VISTA_CLIENTES ( CLIENTE_NO, CLIENTE_NIF, NOMBRE, DIRECCION, LOCALIDAD, PROVINCIA, EMP_NO, APELLIDO, DEPT_NO, DNOMBRE ) AS SELECT clientes.cliente_no, clientes.cliente_nif, clientes.nombre, clientes.direccion, clientes.localidad, clientes.provincia, emple.emp_no, emple.apellido, depart.dept_no, depart.dnombre FROM clientes, emple, depart WHERE ( (emple.emp_no = clientes.vendedor_no) AND (depart.dept_no = emple.dept_no) ) </code></pre> <hr> <p>It looks about oracle forms bug. I set the relation writing and works, If I choose the field on the selectbox, the relation not works.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload