cancel
Showing results for 
Search instead for 
Did you mean: 

Add button Event

Former Member
0 Kudos
79

Hi,

I'm using SAP B1 2005 A SP1 PL18 with B1DE

I'd like to clear some fields on a form linked to UserDataSources when I press the Add button on the application button bar.

Currently when I press the add button, all controlls linked to DBDataSources are cleared, but my controlls linked to UserDataSources are not cleared and still show their "previous" values.

Which event should I be triggering on to clear out the old values for the UserDataSources when the user clicks the Add button?

.Ben

Accepted Solutions (1)

Accepted Solutions (1)

AdKerremans
Active Contributor
0 Kudos

Hi Ben,

you should catch the menuEvent for the addbutton "1282" and check in the event for the Application.forms.Activeform, so you only process it for the form you want

Regards

Ad

Answers (0)