Re: FRM-40654 in Forms 4.5
Date: 1996/10/01
Message-ID: <52risj$cvf_at_zimmer.CSUFresno.EDU>#1/1
Wait a minute... if your stored procedure is only doing validation, who is changing the database values? It sounds like the stored procedure is doing some updating. It should not be doing both. Separate the validation process from the update process--maybe into two procedures.
We have forms that call stored procedures to do updates, and they work
fine. What your form should _really_ be doing is this:
1. Do all validation first. If it requires calling stored
procedures, make sure they don't update the database -- they should
only do validation.
2. If you are going to call a stored procedure to update some tables,
then do a POST in the form.
3. Call any stored procedures that update tables.
4. Commit everything with a commit_form.
The fact that your form is returning the 40654 message is very troubling. Is your form trying to update the same items that the stored procedure is? If this is the case, then which one is correct, the stored procedure or the form? It sounds like something needs to be changed.
Hope this helps.
Steve Cosner
Received on Tue Oct 01 1996 - 00:00:00 CEST