J
Jason
Hi,
This question was answered before in this newsgroup but
neither of the answers worked fully. I'm hoping to get a
revised answer.
Here is my question. How do I write a query or function
that will take
If Size >= Periods display "Dynamic", if not take Periods -
13 and perform Is Size >= Periods if yes
display "Dynamic2", if not take Periods - 13 again, then
perform is Size >= Periods, if yes display "Dynamic3", if
not take Periods - 13 again, etc
The statement I'm using is this:
DisplayValue: "Dynamic" & IIf([ChunkSize]>=[Number of
Periods],"",CStr$([Number of Periods]\13-[ChunkSize]
\13+2)))
It returns Dynamic4 when Periods=39 and Size=13 and when
Periods=48 and Size=22 (should be Dynamic3). Seems to get
hung up when the Size and Periods are the same after the
first iteration.
Thanks for any help.
Jason
This question was answered before in this newsgroup but
neither of the answers worked fully. I'm hoping to get a
revised answer.
Here is my question. How do I write a query or function
that will take
If Size >= Periods display "Dynamic", if not take Periods -
13 and perform Is Size >= Periods if yes
display "Dynamic2", if not take Periods - 13 again, then
perform is Size >= Periods, if yes display "Dynamic3", if
not take Periods - 13 again, etc
The statement I'm using is this:
DisplayValue: "Dynamic" & IIf([ChunkSize]>=[Number of
Periods],"",CStr$([Number of Periods]\13-[ChunkSize]
\13+2)))
It returns Dynamic4 when Periods=39 and Size=13 and when
Periods=48 and Size=22 (should be Dynamic3). Seems to get
hung up when the Size and Periods are the same after the
first iteration.
Thanks for any help.
Jason