[[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 Row (OpenInsight 32-bit Specific) ====
=== At 04 OCT 2004 07:25:54PM Marty Rosenbloom wrote: ===
{{tag>"OpenInsight 32-bit Specific"}}
Hi,
On my form, the key is filled in programmatically. I would like to read the row automatically also. I have tried to Send_Event(@Window, "READ") but I get an error message that the "Entry is locked and may not be modified. Do you wish to continue to view the entry?" What entry is locked and how do I unlock it so that the row will fill in properly?
TIA,
Marty
----
=== At 04 OCT 2004 07:48PM Richard Hunt wrote: ===
I would guess that the "key" fields are already filled in before you programmatically fill them in. I am guessing that is what is causing the lock (already fired read event). If this is so then do not let the "key" fields be filled in by the user, and then you can programatically fill them in for the first time. Something like hiding the key fields and their lostfocus event can do your "programatically fill in".
Also, maybe try a lostfocus "send_event" on the "key" field. That might trigger the "read" event automatically.
----
=== At 04 OCT 2004 09:05PM Marty Rosenbloom wrote: ===
Hi Richard,
The edit line is disabled and can only be filled in by code. The end user (me) cannot enter any data into this field. Upon further review, I think it has to do with the WRITE event when I CLICK on the field to load the next key.
Thanks for the response. I will try a few things with the WRITE and CLEAR events and see what happens.
Marty
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=FD2D25952F1E013085256F230080B6D2|View this thread on the forum...]]