[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== READ/WRITE ERROR (OpenInsight Specific) ====
=== At 27 FEB 2002 05:46:26PM a becker wrote: ===
{{tag>"OpenInsight Specific"}}
This is probably so simple that I can't see the forest for the trees.
On a given condition, I'm clearing a form in a write script using a SEND_EVENT(@WINDOW,"CLEAR",0,1,1). I keep getting Read/Write error - All key values are empty. I have tried using SET_PROPERTY(@WINDOW,"SAVEWARN",0) in addition to the send_event with the same result.
If I set the key, I get Row Exists - Overwrite? YES/NO
What do I need to code to prevent the "All key values are empty" message?
It's got to be a simple solution seeing as how much time I've spent on this dumb thing.
Thanks for your help
Andy Becker
Il State Lottery
----
=== At 27 FEB 2002 06:19PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote: ===
You ARE aborting the write script by returning 0, yes?
[url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 27 FEB 2002 06:47PM a becker wrote: ===
Right after the clear and savewarn statements, I terminate with RETURN 1
Guess it should be return 0?
----
=== At 27 FEB 2002 07:05PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote: ===
yup!
0=terminate chain
1=continue chain
[url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 27 FEB 2002 07:20PM a becker wrote: ===
Thanks Sprezzatura Group
I knew it had to be something real simple.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=041093CBCABD3E2A88256B6D007D1A0F|View this thread on the forum...]]