Paradox Community

Items in pnews.paradox-interactive

Subject:Re: Undefined fields and the changeValue event
Date:25 Apr 2023 18:37:58 -0400
From:"kisuk" <kisuk4@hotmail.com>
Newsgroups:pnews.paradox-interactive

"Ivan Kuhle" <ivan@kuhle.co> wrote:
>
>Just wondering if someone can help with a bothersome issue that occurs on
>an old Paradox application:
>I have a form with a bunch of undefined fields. On data entry, a
>changeValue event fires when tabbing to another field. However, if a
>user selects a button such as close etc., then changeValue doesn't
>fire, and the data doesn't write to the table. I'm sure there's a
>simple solution, but I can't remember...
>Any pointers will be appreciated.
>The buttons are set to tab stop. Using Paradox 10 on Windows 10.
>(Sorry if this is the wrong group.)



Hello Ivan, instead of saving your data on changevalue which is normally
invoked on departing the field you could also save the value with every keystroke
with the onkeyevent i believe. you basically save each character one by one.
another option would be to open a new form an let the user enter their data
in there and trigger an on return that will also fire with the close button.


Copyright © 2004 thedbcommunity.com