![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can anyone offer a good resource for understanding and creating advanced calculations? I'm weak in this area and need to bone up on something with references and examples. The kind of calculations I am interested in are multi-field calculations. The kind that use multiple values from diffferent fields. |
#3
| |||
| |||
|
|
In message <HgwJc.96962$Oq2.18700@attbi_s52>, "Wes" <wchester (AT) lostXXXpants (DOT) com wrote: Can anyone offer a good resource for understanding and creating advanced calculations? I'm weak in this area and need to bone up on something with references and examples. The kind of calculations I am interested in are multi-field calculations. The kind that use multiple values from diffferent fields. In reading this post again, I realize that I worded this poorly. I came across an FM dbase that had multiple calculation fields all drawing data from each other. What I want to know is, how is the priority for multi-calculation fields determined? Which one is calculated first? |
#4
| |||
| |||
|
|
Wes wrote: In message <HgwJc.96962$Oq2.18700@attbi_s52>, "Wes" wchester (AT) lostXXXpants (DOT) com wrote: Can anyone offer a good resource for understanding and creating advanced calculations? I'm weak in this area and need to bone up on something with references and examples. The kind of calculations I am interested in are multi-field calculations. The kind that use multiple values from diffferent fields. In reading this post again, I realize that I worded this poorly. I came across an FM dbase that had multiple calculation fields all drawing data from each other. What I want to know is, how is the priority for multi-calculation fields determined? Which one is calculated first? You mean circular references? If they are possible to define (I'd have thought they'd be trapped and prevented), then you'd want to avoid them at all costs. There is -no- good reason to use a circular reference. |
#5
| |||
| |||
|
|
In article <RoMJc.36626$od7.16804@pd7tw3no>, 42 <42 (AT) nospam (DOT) com> wrote: Wes wrote: In message <HgwJc.96962$Oq2.18700@attbi_s52>, "Wes" wchester (AT) lostXXXpants (DOT) com wrote: Can anyone offer a good resource for understanding and creating advanced calculations? I'm weak in this area and need to bone up on something with references and examples. The kind of calculations I am interested in are multi-field calculations. The kind that use multiple values from diffferent fields. In reading this post again, I realize that I worded this poorly. I came across an FM dbase that had multiple calculation fields all drawing data from each other. What I want to know is, how is the priority for multi-calculation fields determined? Which one is calculated first? You mean circular references? If they are possible to define (I'd have thought they'd be trapped and prevented), then you'd want to avoid them at all costs. There is -no- good reason to use a circular reference. FileMaker won't let you create circular calculations (at least not in any case I've ever tried). ie. Calc1 = FieldA + Calc2 Calc2 = FieldB + Calc1 This will cause an error message when trying to define the fields. This is because Calc1 relies on the answer from Calc2, which in turn needs the answer from Calc1, which wants the answer from Calc2, which ... As you can see you get stuck in an infinite loop trying to recalculate the answers. BUT, what I think Wes is saying is if you have two (or more) calculations, one based on the other, then which one calculates "first". eg. Calc1 = FieldA + FieldB Calc2 = Calc1 * FieldC The answer (I think) is that since Calc2 relies on Calc1, then Calc1 is evaluated "first". Of course the speed of these calculations mean that you'd never really notice anyway - as soon Calc1 changes, Clac2 would automatically recalculate. |
![]() |
| Thread Tools | |
| Display Modes | |
| |