Advertisement

Empower custom field to ignore empty

Discussions about chromatography data systems, LIMS, controllers, computer issues and related topics.

2 posts Page 1 of 1
I have made a simple Custom Field so the user can enter the %Moisture.
Another field which calculates the Dried Amount:

Dried amount = Amount/(100-%Moisture)*100

But not all of our samples are calculated on dried base. For those samples the %Moisture field has to kept blank.

In my report the ODB amount is reported even if the %Moisture field is kept blank. I guess Empower uses "0" for an empty field.
But if I leave the %Moisture field empty, I want Empower to give an empty output.

So if Moisture = " " then Dried amount = " "
And if Moisture = "0" then Dried amount = Amount

How can I make this work?
Missed the option "All or nothing". That did the trick.
2 posts Page 1 of 1

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 4374 on Fri Oct 03, 2025 12:41 am

Users browsing this forum: No registered users and 1 guest

Latest Blog Posts from Separation Science

Separation Science offers free learning from the experts covering methods, applications, webinars, eSeminars, videos, tutorials for users of liquid chromatography, gas chromatography, mass spectrometry, sample preparation and related analytical techniques.

Subscribe to our eNewsletter with daily, weekly or monthly updates: Food & Beverage, Environmental, (Bio)Pharmaceutical, Bioclinical, Liquid Chromatography, Gas Chromatography and Mass Spectrometry.

Liquid Chromatography

Gas Chromatography

Mass Spectrometry