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

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

Recommended Posts

Posted

Hi.

Having some more thought and need a hint in what direction to go.

I have two fields:

Field1= 1000- (or similar)

Field2= a letter lik A, B, or C and so forth

The result should be

CalcV = 1000-A, 1000-B or 1000-C

I have not decided that it has to be like this, I only need to find a solution.

Question: How do I get fm to check and auto-enter a letter following the alphabet? I only need 5-10 letters so it can be done manually. Basicly if 1000-A exist, next should be 1000-B and so forth.

many thanks for any tips.

Posted

Perhaps you should explain what this is about - I have a hunch you should be using a related table here instead of trying to manage multiple series in the same table.

Posted (edited)

HI.

Its so difficult to explain things in text. But i will give it a go. Sorry if I was to unclear in my previous post.

So, we have a Building, and in this building we have lifts.

Every house has a uniqe number, ex, 100001

Every lift has a uniqe letter (in the building), A, or B och C and so on.

The house is in one table. The lifts in another table and they have a relationship thou the unique house number. I can use my relationship to check if the letter is already taken, but I would like FM to generate the letter automatically so the users dont need to keep track on what letter it should be.

Basically I want to do is automatically generate a letter in the lift table and make sure its unique in combination with that particular FK building number.

Was I clear enought. Let me know otherwise.

Edited by jamesjames

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