[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

FM - Autofill per 3 Different Options

Posted on 2011-03-07
4
Medium Priority
?
587 Views
Last Modified: 2012-05-11
I am trying to autofill the agent's intials based on 3 different related field codes appearing.  Below is my calc.  If I do any one of these it works, but when I try to use all three, I keep getting a 0 placed in the Agent Initials field.  Now each of these 3 related code fields does get an autoenter of a 0 to begin with; however, why would that get entered into the Agent field based on the formula below?  Quite the mystery.  See also screen shot.

If ( WRCpropcode   =  0 or IsEmpty ( WRCpropcode ); ""; WRCPropertySales::ListingAgent) or
If ( WRCleasecode   =  0 or IsEmpty ( WRCleasecode ); ""; WR_Vacs4Notes::ListingAgent) or
If ( BusProfileCode   =  0 or IsEmpty ( BusProfileCode ); ""; WRCBusinessSales::ListingAgent)
-Autofill.JPG
0
Comment
Question by:rvfowler2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
Will Loving earned 2000 total points
ID: 35059312
Randy,

If I read this correctly, what you are wanting is to enter the Agents Initials if one of these conditions is true, and that some conditions will take precedence over other conditions. If that's correct, then you would want to do something more like the following:

Case (
not IsEmpty ( WRCpropcode ) and WRCpropcode <> 0 ; WRCPropertySales::ListingAgent) ;
not IsEmpty ( WRCleasecode) and WRCleasecode <> 0; WR_Vacs4Notes::ListingAgent) ;
not IsEmpty ( BusProfileCode ) and BusProfileCode <> 0 ; WRCBusinessSales::ListingAgent
)

This progressively adds the agent details based each of the conditions. You can change the order if necessary.
0
 
LVL 2

Author Comment

by:rvfowler2
ID: 35059407
Actually, I wan't clear enough.  I simply want that if it is empty or 0 to do nothing and if it is greater than 0, then entering the ListingAgent field from the respective related record.  There is no hierarchy:  I am trying to get the Notes page to autoenter when I enter the record from the portal in these respective layouts.
0
 
LVL 25

Expert Comment

by:Will Loving
ID: 35059445
Treating it hierarchically isn't necessary for it to work. I think my calc will still work for you. Give it a try.
0
 
LVL 2

Author Comment

by:rvfowler2
ID: 35059716
Yes, worked perfectly.  I've just been having an off couple of weeks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question