Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I've got a table with a number of fields, among them "User", "Model", "Type", and "User with Model". (All fields are text fields.) The contents are pretty obvious; "User" is the username, "Model" is the manufacturer and model information for that hardware, and "Type" is the type of hardware (mouse, laptop, etc). The "User with Model" field auto-enters a calculated value thus:

If ( (Type = "Workstation") or (Type = "Server") or (Type = "Laptop") ; User & " (" & Manf Model & ")" ; "" )

This generally works fine. In records where the hardware is a Workstation, Server or Laptop, I get the appropriately generated field ("john_doe (Apple iMac)", etc). In records where the hardware is NOT a Workstation, Server or Laptop, the field is left blank.

The problem arises when the "Type" field is left blank in a record. When this happens I get "john_doe ()".

How to fix?

Posted

It should be working. Please post a copy of your file perhaps with only one record.

Posted (edited)

I managed a workaround by adding a condition:

If ( (Type ≠ "") and ((Type = "Workstation") or (Type = "Server") or (Type = "Laptop")) ) ; User & " (" & Manf Model & ")" ; "" )

Edited by Guest

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