New field generate the message "Save Changes?" in Item Maintenance
New field generate the message "Save Changes?" in Item Maintenance
(OP)
I have added a new field in the Basics tab of IM0101 screen. I have called a function to display the data in this new field when the Description field got focus. The function to save the data is called when this new field loses focus. Here is the issue. I get the error message "Save Changes?" with Yes/No/Cancel button from Macola ES each time I clicked on Cancel to close the screen. Changing or not the data in this new field does not matter. It does not even go into the function to save the data when clicking on Cancel.
Why do I have this message all the time I close the screen?
Why do I have this message all the time I close the screen?
RE: New field generate the message "Save Changes?" in Item Maintenance
Thanks in advance
RE: New field generate the message "Save Changes?" in Item Maintenance
Software Training, Implementation, Programming and Support for Macola Progression, Macola ES, Synergy, and Crystal Reports. Check out our Macola tools: www.gainfocus.biz/exceladdin.html
RE: New field generate the message "Save Changes?" in Item Maintenance
RE: New field generate the message "Save Changes?" in Item Maintenance
Software Training, Implementation, Programming and Support for Macola Progression, Macola ES, Synergy, and Crystal Reports. Check out our Macola tools: www.gainfocus.biz/exceladdin.html
RE: New field generate the message "Save Changes?" in Item Maintenance
RE: New field generate the message "Save Changes?" in Item Maintenance
Software Training, Implementation, Programming and Support for Macola Progression, Macola ES, Synergy, and Crystal Reports. Check out our Macola tools: www.gainfocus.biz/exceladdin.html
RE: New field generate the message "Save Changes?" in Item Maintenance
I tried to save the value in the table as soon as I display it but I still get the prompt when I hit Cancel.
Here is what I want to do. I have create a custom text field from the Designer to show the value of the extra_6 field from the imitmidx_sql table. I looked if there was a hidden field for the extra_6 but there was not. Because the custom field on the screen is not directly related to extra_6, I have created a function in macform to display the value of extra_6 for the selected item. This function is called in the getfocus event of the Description field. There is another function to save the value of the extra_6 in the database and it is called on the losefocus event of the custom field.
So far, what ever I am trying to do, I always get the prompt. To get rid of the prompt, I have to comment the function to display the value of extra_6 in the custom field on the screen. But I have to see the value somewhere in the screen and the user can change the value as desired.
Is there something I do wrong???
RE: New field generate the message "Save Changes?" in Item Maintenance
Thanks for your help!