Hi all,
Want to execute a method if a field is blank previously but now entered with a new value.
And that new value is used in that method.
How can i do this and on which method of the table i should write the code to do this.
Thanks and regards
Siddhant Singh
Hi Siddhant Singh,
As mentioned here you need to override modifiedField field on the table level and add your logic there, if you want to check that field was blank before you can this.orig() nuxulu.com/.../Understanding_modifedField_Table_method_in_DAX_2012.html
I hope I understood you correctly
you can use the modifiedField method to do this
public void modifiedField(fieldId _fieldId)
{
super(_fieldId);
switch(_fieldId)
{
case fieldnum(MyTable, custAccount):
this.CurrencyCode="";
break;
default:
}
}
Hi Siddhant,
In which area do you need to prepare such a solution ?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156