p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

crystal_reports thread: Problem in selectionformula


Message #1 by saifi1@y... on Sat, 22 Jun 2002 13:21:39
I am using the following code to generate the report of specified bill_id

    Report1.DiscardSavedData = True
    Report1.SelectionFormula = "{Orders.Bill_Id}=" + CStr(dcBill.Recordset!
[Bill_Id])
    Report1.Action = 0

Sometimes it generates the report and sometimes does not.
I have trie dit in designing of report in Report Designer by implementing 
the SelectionFormula, it worked there. Why it is happening with VB code

Help required.
Saif

  Return to Index