Notifications
Announcements
No record found.
Hi All,
I want to clear value in a string field without using "". I have tried as mentioned below but I'm getting a best practice warning which I don't want
MyTable.Currency = "";
So Please suggest my any string function so that I can used to clear value in my field.
Regards,
Aimon Fatima
The best practice warning complains that you need to use labels instead of hardcoded strings?
You can explicitly indicate that you mean to hardcode a string (versus a text that should be a label) by using single quotes.
So, I would expect the following to not give a BP warning:
MyTable.Currency = '';
Hello there,
Can you share the exactly BP warning message?
Meanwhile, you can also try this the below
MyTable.Currency = null;
Thanks
Just use single quotes.
Thanks. It's working .
Thanks. It's working.
Thanks, null is also working.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 451 Most Valuable Professional
André Arnaud de Cal... 428 Super User 2025 Season 2
BillurSamdancioglu 239 Most Valuable Professional