sorry think I am over complimenting this and will go back to the design

I basically need to write one number to the database (say 15) but in a later workflow I read the 15 (from the DB) but set it to the max - lets say 10. I do this for 3 different values with different max numbers.

I need the actual number in the database (this would be 15 - as this is used elsewhere) but need to include a max in my calculation (10 in this case) otherwise I could get more than 100 in a calculation (a percentage).

Your explanation is something I will work with - cheers

1 Like