CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002
    Posts
    3

    Sorting of Crystal Report

    Hi Babu,

    I am using crystal reports 8.0

    I want to know how can I sort records based on some database column filed.

    Thanks in advance,
    Dharmesh

  2. #2
    Join Date
    May 2002
    Location
    Colombo,Sri Lanka
    Posts
    1,110
    CrystalReport1.ReportFileName = App.Path & "\reports1.rpt"
    CrystalReport1.SelectionFormula = sql
    CrystalReport1.WindowTitle = "Status Reports"
    CrystalReport1.SortFields(0) = "+{transaction_master.transaction_no}"
    CrystalReport1.WindowState = crptMaximized
    CrystalReport1.Destination = 0
    CrystalReport1.Action = 1

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

Featured