If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > FileMaker > Calculation troubles. . .please help.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-16-04, 07:03
afrodytea afrodytea is offline
Registered User
 
Join Date: Sep 2004
Posts: 2
Question Calculation troubles. . .please help.

I tried to use the following calculation,

If(IsEmpty (Contact Details::Line 2 );Lookup ( Contact Details::Line 1 ))

to allow me to access information from a different field if the respective relational matching field was empty and it didn't work.

Can anyone advise me on why and/or if there is a better calc or script to acheive what I am trying to do?

Many thanks,

Sarah Barry
Reply With Quote
  #2 (permalink)  
Old 10-11-04, 06:18
CobaltSky CobaltSky is offline
Registered User
 
Join Date: May 2004
Location: Melbourne, Australia
Posts: 23
Hello Sarah,
If I understnad correctly what you are trying to do, then the Lookup( ) function is superfluous in this instance and you should be able to achieve the result you desire by using a calculation expression such as:

If(IsEmpty(Contact Details::Line 2); Contact Details::Line 1; Contact Details::Line 2)

Give that a try and see if it does what you want.
__________________
-------------------
Ray
FileMaker Developer
http://www.nightwing.com.au/FileMaker
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On