2011 Sep 07 5:21 PM
Hi Experts,
In one of the requirements, user wants some default values to appear in the Table Maintenance screen for some of the fields. Those should appear as and when they go to update mode, before pressing ENTER key.
Generally we can add logic in Table maintenance events, to get default values after pressing ENTER key. But just wanted to know if its possible to get those before pressing ENTER key. If yes, can you please explain how to do that.
Thanks,
Vinayak
2011 Sep 07 5:35 PM
Hi
If you place your code in the PBO you should get what you need
Max
2011 Sep 13 8:29 PM
Hi,
This is very much possible. following below steps
Go to Table Maintenance Generator:
click on Environment -> Modification -> Events
Here you can observe that there are different types of events available like before saving the data, after saving the data, before deleting, after deleting and others. Based on the requirement you can select the event
Click on the button in the Editor column and enter the following code: (Please note that you should also code FORM and ENDFORM as well).
assign the values in this form and endform and Save and activate the table.
hope this helps.
2011 Sep 14 7:04 AM
Hi Vinayak,
You just follow Naik.It will be resolved your problem.