Jump to content

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

Recommended Posts

Posted

Hi

I have a spreadsheet where presently if the customer owes something it becomes a negative number in the field "service". I would like to have a calculation or a script that sends that number to another field called "owed" only when there is a negative number in the "service" field.

So if the service field says -$220 then the negative sign somehow signals that the number should be placed in the "owed" field for $220 . that is what I am trying to do but I just don't know how to do it.

Thanks

Stan

Posted

make a calcs field:

c_SignalField= Case(SericeField < 0,"OWED")

and place it next to the service field on your layout to 'display'

the same goes for validation of field Serive to 'warn'

and if u want all this 'automatic'

then make a script that is run on "submition" or finsihed entry in service field:

IF SericeField < 0

SetField[owed_field,service_field]

SetField[service_field,""]

EndIF

Take care!

This topic is 7497 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.