Results 1 to 3 of 3

Thread: Crystal report formulas

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    1

    Unhappy Crystal report formulas

    hi there, i'm new in VB programming.
    currently i'm working on a program that call a crystal report and generate report from a .rpt file
    i check my .rpt file is ready and no error
    how i define the CrystalReport.Formulas()?
    after that, what is the means for CrystalReport.SelectionFormula?
    and what is the differents?
    cos although i define both formula already
    but wen going to the part CrystalReport.action
    will having error : 20510:Invalid formula name error..
    then the report is empty , no data for this selection
    please advice..thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Crystal report formulas

    Moved to reporting section.

  3. #3
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    Re: Crystal report formulas

    Formulas are part of report
    this is a sample formula
    Code:
    {factura.preco} + ({factura.preco} * {factura.desconto} / 100)
    Use SelectionFormula when you want to filter the information on the report using sql :
    Code:
    {factura.preco} > 100
    Regards
    Jorge
    "The dark side clouds everything. Impossible to see the future is."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width