|
|
Programatic Change in Form- #14020 in section [741814] |
Sec: |
(29) VFX english |
Von: |
David Phillips |
An: |
ALL |
Am/Um: |
20.01.2019 16:11:37 gelesen |
--from Newsreader at Sonntag, 20. Januar 2019; 16:11:37-- Dear Uwe, Happy New Year. I am trying to conditionally, programmatically, change a table value in a form. But when closing the form with Escape I am not asked whether to save the change and the change is reversed. There must be some testing when closing the form to cause the prompt 'Save Changes' but I cannot find it. Is there as variable I should change the value of to trigger the onsave() after a programatic change? I have tried both the lines of code below thisForm.PGFPAGEFRAME.Page1.TXTPCH_NO.Value = '' REPLACE Patients.PCH_No WITH '' I have put the code THISFORM.lOLEdropForceEditmode = .T. before the lines above. Is that the way o do it? Kind Regards, David
|
|
|
|