dbTalk Databases Forums  

Calculation

comp.databases.filemaker comp.databases.filemaker


Discuss Calculation in the comp.databases.filemaker forum.



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

Default Calculation - 11-11-2010 , 06:33 PM






FM8.5

I am trying to create an Invoice field with a calculated result. When
a Contact field is valid (a tax number exists) the Invoice field
checkbox defaults to Y, otherwise N.

My attempts do not work. Can anyone help.

Thanks
Matthew

Reply With Quote
  #2  
Old   
Buckbuck
 
Posts: n/a

Default Re: Calculation - 11-11-2010 , 11:11 PM






On Nov 11, 4:33*pm, Buckbuck <buck.matthe... (AT) yahoo (DOT) com> wrote:
Quote:
FM8.5

I am trying to create an Invoice field with a calculated result. When
a Contact field is valid (a tax number exists) the Invoice field
checkbox defaults to Y, otherwise N.

My attempts do not work. Can anyone help.

Thanks
Matthew
Solved this - thanks
Matthew

Reply With Quote
  #3  
Old   
Your Name
 
Posts: n/a

Default Re: Calculation - 11-11-2010 , 11:58 PM



"Buckbuck" <buck.matthew74 (AT) yahoo (DOT) com> wrote

Quote:
On Nov 11, 4:33 pm, Buckbuck <buck.matthe... (AT) yahoo (DOT) com> wrote:
FM8.5

I am trying to create an Invoice field with a calculated result. When
a Contact field is valid (a tax number exists) the Invoice field
checkbox defaults to Y, otherwise N.

My attempts do not work. Can anyone help.

Solved this - thanks
Checkbox Fields which can only have a single value are easy - set the Field
to the appropriate value. (Single value checkbox Field should really be
radio button Fields.)
i.e.
If (IsEmpty(TaxNumber); "N"; "Y")
or
If (Not(IsEmpty(TaxNumber); "Y"; "N")
or
If (TaxNumber = ""; "N" ; "Y")
or
If (TaxNumber <> ""; "Y"; "N")

It's when the checkbox Field can contain multiple values that it gets a bit
tricky. You have to remember that each value must be separated by a carriage
return, and that there may already be other values in the field that need to
be retained when you add / check a new value.

Helpful Harry )

Reply With Quote
  #4  
Old   
 
Posts: n/a

Default Re: Calculation - 11-12-2010 , 03:51 AM



"Buckbuck" <buck.matthew74 (AT) yahoo (DOT) com> wrote

Quote:
On Nov 11, 4:33 pm, Buckbuck <buck.matthe... (AT) yahoo (DOT) com> wrote:
FM8.5

I am trying to create an Invoice field with a calculated result. When
a Contact field is valid (a tax number exists) the Invoice field
checkbox defaults to Y, otherwise N.

My attempts do not work. Can anyone help.

Thanks
Matthew

Solved this - thanks
Matthew
Matthew,

i hope you don't mind that I give some general advise for posting questions
to the group.
It might help us (me certainly) if you post your question with examples of
what you have tried.
That way we might understand your reasoning and guide you along.
And when you solved something adding that to your post might be of some
assistance to someone else.

--

Hou je goed / keep well,

Ursus

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.