Jump to content

This topic is 8270 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

If zero set zero..

Some funny thing. I wanted to force a number field always to show 0,00 instead of nothing. When using

if [not amount] SetField (amount, 0)

Nothing changed. The condition was not met.

When using

if [amount = 0] SetField (amount, 0)

the thing works. An empty amount shows 0,00

Is there some funny explanation?

Harry

Posted

Use IsEmpty() to check if a field is empty. Note that a feidld with zero may not be empty.

Try changing the field's number format, it controls how empty fields are displayed.

This topic is 8270 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.