Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. diamondtektips

    how to def a var, then access it in other formulas

    ok, nevermind guys. i figured it out. crystal syntax is somewhat vb, and somewhat not vb... it's a mind bender to first define a shared var, then to refer to it you use the entire definition rather than just to call it by it's name... i.e. ...in report header whileprintingrecords; shared...
  2. diamondtektips

    how to def a var, then access it in other formulas

    i put the following in group header 2: global currencyvar margin_total_var:=0 i am trying to create the following to put into group footer 2: WhilePrintingRecords; if {vr_08611.Past03} > 0 then if a>b then margin_total_var+=0 else margin_total_var+=1 else...
  3. diamondtektips

    Novice question re: building total then grand total

    thanks, that helped a little... i see that i was intending on incorrectly trying to return a value AND add to a running total... back to the drawing, er, keyboard.
  4. diamondtektips

    easy if...then...else question

    can somebody give me a code snippet demonstrating a multiline if..then..else statement, or tell me what's wrong with the following: if a>b then { statement 1 statement 2 } else { statement 1 statement 2 } i've programmed in vb before and normally to type in a multiline...
  5. diamondtektips

    Novice question re: building total then grand total

    Guys, I'm embarrased b/c I'm at least an intermediate programmer in VB, C++ and other lang but i'm such a lowly novice @ crystal... Your help is greatly GREATLY appreciated. I have a A/R report which requires a margin calculation per company, and a final total for margin at the end of the...

Part and Inventory Search

Back
Top