dbTalk Databases Forums  

Question on a calculation

comp.databases.filemaker comp.databases.filemaker


Discuss Question on a calculation in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Iced Tea
 
Posts: n/a

Default Question on a calculation - 01-17-2012 , 10:41 AM






I have a container that I store a picture in and I am trying to have the
calculation check the container and tell me whether or not each record has
one:

Here is what I have:

CheckContainer = If ( Picture Database::Carded Picture= "" ; "Empty" ; "Not
Empty" )

For some reason the field will only show "Not Empty" when a picture appears,
if no picture there is nothing the field.

Any help?

Reply With Quote
  #2  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Question on a calculation - 01-17-2012 , 01:59 PM






In article <hxhRq.5127$Xa1.3591 (AT) newsfe15 (DOT) iad>, "Iced Tea"
<icedteas (AT) cox (DOT) net> wrote:
Quote:
I have a container that I store a picture in and I am trying to have the
calculation check the container and tell me whether or not each record has
one:

Here is what I have:

CheckContainer = If ( Picture Database::Carded Picture= "" ; "Empty" ; "Not
Empty" )

For some reason the field will only show "Not Empty" when a picture appears,
if no picture there is nothing the field.

Any help?
There's an option in the Define Calculation window that says something
about not calculating when referenced fields are empty - turn that off (or
is it on?) so that the calculation is calculated even when the Carded
Picture field is empty.

Helpful Harry )

Reply With Quote
  #3  
Old   
Iced Tea
 
Posts: n/a

Default Re: Question on a calculation - 01-18-2012 , 08:49 AM



Thanks, I thought I had it unchecked..

"Iced Tea" <icedteas (AT) cox (DOT) net> wrote

Quote:
I have a container that I store a picture in and I am trying to have the
calculation check the container and tell me whether or not each record has
one:

Here is what I have:

CheckContainer = If ( Picture Database::Carded Picture= "" ; "Empty" ;
"Not Empty" )

For some reason the field will only show "Not Empty" when a picture
appears, if no picture there is nothing the field.

Any help?

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.