|
This problem suddenly appeared out of nowhere, again.
I was making some changes to a form by modifiying and then testing some EEP changes, all of which worked perfectly. I tested it in the read-only mode in Form Designer, then tried it by Edit Using; both worked fine.
I then began repetitively changing the location of some fields and I also added a shape to the form...kind of a "final polish" to the look of the form. During the process of moving the fields and making the form look nice, I would periodically close the Form Designer and check the form operation with the Edit Using formname syntax.
I noticed the "Do you want to save your changes" dialog box stopped popping up when exiting the form after modifying data, while using the Edit Using command. The data can be changed in any of the fields, but the changes do not remain when the form is closed - the dialog box (Do you want to save changes) does not appear. It acts as though I am trying to run the form from the Form Designer, but that is not the case; I am running the form using Edit Using formname.
I am not using the PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE' or PROPERTY RBASE_FORM DONTSHOWDELETEDIALOG 'TRUE'
commands. I even tried including these property commands using the 'FALSE' syntax, but no change. I also tried changing the "Automatic Replacement" checkbox under Tables/Add-Remove Tables/Table Settings, with no change in the problem. I have tried autochk - no errors. Unloading/reloading the form - no change. Here's the kicker: F8 and then F7 (next row/previous row) while in Edit Using mode saves the changes - which means the table itself is OK (confirmed by EDIT ALL FROM tablename), the only problem seems to be that the form has lost the "Do you want to save changes" dialog box, and does not save the changes.
So my question is this: Where should I look to fix the problem? I am trying not to lose my evening's work on this form, and would like to learn what I am doing wrong or what simple fix I should have already done to get this dialog box back!
Thanks!
Ted
My version is 7.6.3.30214.
Ted Lienhard CNE NCT
Golden Valley Consulting >>> A. Razzak Memon<[EMAIL PROTECTED]> 10/13/07 6:36 PM >>> At 10:39 AM 10/13/2007, Ted Lienhard wrote: >I have a form that is used both for enter and edit. After >incorporating some property commands (thanks Razzak!), the >entry or edit use of the form does not show the "Save Changes" >box upon closing...the form simply closes-no changes/additions >to the table are saved. I have commented out the eep's, but >no change. > >Any ideas? The table is not set read-only, and the original >copy of the form still works. Ted, That is the result of incorporating the following two PROPERTY commands as "On After Start EEP": PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE' PROPERTY RBASE_FORM DONTSHOWDELETEDIALOG 'TRUE' So, if you wish to be prompted for "Save Changes" confirmation dialog, you'll need to either comment out both property commands (see example below) or simply take out both lines of code as On After Start EEP. Example: -- PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE' -- PROPERTY RBASE_FORM DONTSHOWDELETEDIALOG 'TRUE' You may also need to re-visit the EEP code behind the [Save], [Cancel] and [Close] buttons. Hope that helps! Very Best R:egards, Razzak. |
[RBASE-L] - [RBG7-L] - Re: Form no longer saves changes...again
Ted Lienhard ([EMAIL PROTECTED]) Tue, 19 Feb 2008 23:30:35 -0800

