Re: Forms 6.0 : Problem inserting record

From: Luc Bosman <l.bosman_at_wanadoo.be>
Date: 2000/06/30
Message-ID: <4smols86gaou876sp3frn10rl35h0b9jhn_at_4ax.com>#1/1


On Fri, 30 Jun 2000 07:53:18 GMT, Guillaume Serre <guillaumeserre_at_hotmail.com> wrote:

>Hi,
>
>I have a forms 6.0 form based on an Oracle 7.3.4 table.
>Insert sometimes fails with the error FRM-40508 : Unable to insert
>record.
>Shift F1 displays unreadable characters in "SQL Statement in error",
>and the Error box displays "ORA-01403 : No data found". It doesn't
>happen every time, if I close the form and reopen it the insert works.
>I'm sure the PK constraint isn't violated (I use a sequence), and the
>table has no other constraints. It really looks like a bug, but is it a
>bug in the server 7.3.4 (AIX) or in forms 6.0 (NT) or in server 7.3.4 +
>Forms 6.0 ?
>
>I hope you understand my english. Any help is greatly appreciated.

[Quoted] Guillaume, l'erreur que vous recevez indique 'Pas de donnée trouvée'. Je vois 2 causes possibles:
1. n'y aurait-il pas un trigger dans la db (sur la table donc) ou dans le form (pre-insert peut être) effecutant un select qui ne trouverait pas de record ou appelant procedure/fonction effectuant un select. [Quoted] [Quoted] 2. une tentative de to_date sur un champs qui serait numérique par exemple. Curieusement dans ce cas, forms indique un no_data_found et non type mismatch.

[Quoted] Si vous n'êtes dans aucun de ces cas, le bug peut être envisagé. Personnelement, je n'ai jamais eu ce problème avec Forms 6.0 (NT) et Oracle 8i (NT aussi), pas plus qu'à l'époque forms 6 + 7.3.4 toujours sous NT.

-- 
Luc Bosman
[Quoted] DEV/2000 Software Engineer
Database and Network Administrator
l.bosman_at_wanadoo.be
ICQ 37011625          http://users.skynet.be/kobukai/
 ---------------------------------------------------- 
|  -°)                                          (°-  |
|  /\\  Linux the choice of the GNU generation  //\  |
| _\_v                                          v_/_ |
 ---------------------------------------------------- 
Received on Fri Jun 30 2000 - 00:00:00 CEST

Original text of this message