|
Posted by Mo on June 12, 2008, 11:52 am
Please log in for more thread options > Mo wrote:
> > On Jun 11, 12:11 pm, Iv=E1n S=E1nchez Ortega <ivansanchez-...@rroba-
> > escomposlinux.-.punto.-.org> wrote:
> >> Mo wrote:
> >>> I'm a novice looking for suggestions.
> >>> I have a report which is now working how I want it, but I need to add
> >>> some calculated totals.
> >>> The problem is that I need to put the sum of detail above (prior to)
> >>> the detail itself.
> >>> Is there a way to pre-analyze the page or something so that I can use
> >>> the sum prior to the getting the parts that make the sum?
> >> Instead of echo()ing everything, store it in a string variable. Then, s=
um
> >> what you need to, then echo() the sum, then echo() the string holding t=
he
> >> (delayed) output.
>
> >> Cheers,
> >> --
> >> ----------------------------------
> >> Iv=E1n S=E1nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-=
>
> >> A Tale of Two Cities LITE(tm)
> >> =A0 =A0 =A0 =A0 -- by Charles Dickens
>
> >> =A0 =A0 =A0 =A0 A man in love with a girl who loves another man who loo=
ks just
> >> =A0 =A0 =A0 =A0 like him has his head chopped off in France because of =
a mean
> >> =A0 =A0 =A0 =A0 lady who knits.
>
> >> Crime and Punishment LITE(tm)
> >> =A0 =A0 =A0 =A0 -- by Fyodor Dostoevski
>
> >> =A0 =A0 =A0 =A0 A man sends a nasty letter to a pawnbroker, but later
> >> =A0 =A0 =A0 =A0 feels guilty and apologizes.
>
> >> The Odyssey LITE(tm)
> >> =A0 =A0 =A0 =A0 -- by Homer
>
> >> =A0 =A0 =A0 =A0 After working late, a valiant warrior gets lost on his =
way home.
>
> > I don't think I can just store it into a variable for delayed output
> > because it has to be in the WHILE loop for it to itterate correctly.
> > If I'm wrong on this, PLEASE correct me.
> > I'd love to be able to do it this way (i tried something like this,
> > but couldn't get it to work).
>
> > ~Mo
>
> Iv=E1n is correct. =A0With proper programming, you can do this rather easi=
ly.
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D- Hide quoted text -=
>
> - Show quoted text -
WOW!
That's great!
I think I understand how the .=3D operator works, but I'm not quite
grasping the logic.
I am hoping that the manual has some examples, but I can't pull it up
in the manual (I'm using the online version).
If you could provide some tips on how to find it (and/or point me to
some examples), it'd be greatly appreciated.
~Mo
|