Two Forms and One table (OpenInsight Specific)
At 17 JAN 2001 07:27:37PM Jonadab Betancourt wrote:
Hi , I have a question for the forum.
I hace two form executables and one table, my first form write in the table,but my second form can't write in my table…
My second form access a same table with the first
A any idea, or solutions it's great.
Thank's
Johnny
At 18 JAN 2001 03:55AM Oystein Reigem wrote:
Johnny,
There can be many reasons your second form doesn't work. You must supply more details.
Have you added any events of your own? One common cause for stuff not happening is user events with a RETURN 0. If you have your own user event on WRITE with a RETURN 0, that will stop processing before the row is written.
Have you altered the menus?
Sometimes the System Monitor can help in diagnosing a problem. The System Monitor shows information about the processes the engine is running: Perhaps you should supply us with a log from the System Monitor. Do the following:
- Start the System Monitor (Tools | Advanced… | System Monitor). Make the System Monitor a bit higher, so you better can watch the logging process.
- Run your own form.
- If necessary place and size the two windows on the screen so it's easy to operate both of them.
- Enter some data in your form, and try to do a save. Close the form.
- Study the information in the System Monitor window. Copy, paste and post the relevant bits here.
You can clear the content of the System Monitor at any time, to better distinguish the new information from the old. (There's no Clear button or similar - just do it manually.)
Here's what I get when I do a save with F9 in a very simple databound form:
RUN_EVENT calling:SYSPROG*LOSTFOCUS..OIWIN* …
RUN_EVENT calling:SYSPROG*..OIWIN* …
SEND_EVENT ( ,WRITE, …)
RUN_EVENT calling:SYSPROG*WRITE.WINDOW.OIWIN* …
RUN_EVENT calling:SYSPROG*LOSTFOCUS..OIWIN* …
RUN_EVENT calling:SYSPROG*..OIWIN* …
RUN_EVENT calling:SYSPROG*CLEAR.WINDOW.OIWIN* …
RUN_EVENT calling:SYSPROG*NOTECLEAR.WINDOW.OIWIN* …
RUN_EVENT calling:SYSPROG*..OIWIN* …
RUN_EVENT calling:SYSPROG*..OIWIN* …
RUN_EVENT calling:SYSPROG*..OIWIN* …
RUN_EVENT calling:SYSPROG*GOTFOCUS..OIWIN* …
RUN_EVENT calling:SYSPROG*..OIWIN* …
- Oystein -
At 18 JAN 2001 07:23AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
So you have two forms which access the same table. The first form can write but the second cannot. The simplest solution may be that the second form needs to be set to ignore self locks. Go to Database Options and set it tehre whilst painting the form.
World Leaders in all things RevSoft