Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Circular calc?


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

Recommended Posts

I have 3 fields:

InfiniteSupply_List (value list with choice of Yes, No)

Available (auto enter calc: If (InfiniteSupply_List = "Yes" ; "" ; Available) Do not replace value is unchecked)

InfiniteSupply (auto enter calc: If (InfiniteSupply_List = "Yes" ; 1 ; 0 ) Do not replace value is unchecked)

This is the work-flow:

The user will select Yes or No depending on if the supply is infinite or not. If Yes is chosen the Available field will be empty, even if they enter a number by mistake it will revert to empty due to calculation. At the same time InfiniteSupply will be set to 0 or 1 depending on InfiniteSupply_List. So far so good. It works nicely and as intended. The issue is when I import data. The file will be used almost exclusively for import of data, its modification and then export. Import file has two fields out of three mentioned. It has InfiniteSupply and Available. So when I import InfiniteSupply will have the value of 1 or 0. I need InfiniteSupply_List set to Yes if InfiniteSupply is 1 after the import or to No if InfiniteSupply is 0.

Reason: The file is made to handle online database. The user exports the information from their online database in .csv format, imports the data in FM, makes changes, exports and uploads. The FM is intended to make the handling of data more friendly and more simple for seasonal employees as the online DB is live and its interface is not friendly at all.

Thanks.,

Link to comment
Share on other sites

Use a calculated Replace on InfiniteSupply_List after you import:

Case( InfiniteSupply ; "Yes"; "No" )

PS: Seems like you have 3 fields where one would do.

Link to comment
Share on other sites

Alright, will try. I think I need at least 2 fields. The online db does not use yes, no. It uses 0 and 1, 0 for no and 1 for yes. What I am trying is to replace that with words so a person without any experience or training can make changes easily.

Thanks.,

Link to comment
Share on other sites

You might be onto something. Will look into this. I need it to be Yes or No in selection but value needs to be 0 or 1. They hire a lot of high-school kids to handle data input around holidays so I need to make sure it is simple and user proof.

Thanks

Link to comment
Share on other sites

Actually it will not. I am back to the original issue when importing. Import file has 0 and 1 and if I import into the field the field that has the Yes, NO choice will not get updated.

Link to comment
Share on other sites

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