Results 1 to 5 of 5

Thread: my crystal report don't show more than 80 records '' ??

  1. #1

    Thread Starter
    Hyperactive Member xray's Avatar
    Join Date
    Jun 2003
    Location
    EgYpT
    Posts
    312

    my crystal report don't show more than 80 records '' ??

    peace be with you

    my crystal report don't show more that 80 record in the sheet ??

    why that ....


    my data is 200 record


    ho to solve this
    In the name of allah , the beneficent , the merciful

    Say (O Muhammad ): We believe in allah and that which is revealed unto us and that which was revealed unto abraham and ishmael and isaac and jacob and the tribes , and that which was vouchsafed unto moses and jesus and the prophets from their lord . we make no distinction between any of them , and unto him we have surrendered


    ---- Great Sites For You -------------------

    If you want to know some small things about islam ?

  2. #2
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Re: my crystal report don't show more than 80 records '' ??

    Quote Originally Posted by xray
    peace be with you

    my crystal report don't show more that 80 record in the sheet ??

    why that ....


    my data is 200 record


    ho to solve this
    i dont know anything about CR but for those who do will need to see your code before they can help you solve your problem.

  3. #3

    Thread Starter
    Hyperactive Member xray's Avatar
    Join Date
    Jun 2003
    Location
    EgYpT
    Posts
    312

    Re: my crystal report don't show more than 80 records '' ??

    the code ::

    Code:
    Dim report_app As New CRAXDDRT.Application
    Dim report As New CRAXDDRT.report
    Dim rep_path As String
    
    Private Function common_report()
        rep_path = App.Path & "\" & report_kind
        'MsgBox rep_path
        'MsgBox report_for
        Set report = report_app.OpenReport(rep_path)
        'report.Database.Tables(1).Location = App.Path & "\cranet.dat"
        report.Database.Tables(1).Location = "\\192.168.0.61\db\cranet.dat"
        With report.Database.Tables(1).ConnectionProperties
            .Add "password", "2041981asamir"
        End With
    End Function
    
    Private Sub Command1_Click()
        Dim date_now As String
        '
        date_now = Date
        date_now = Format(date_now, "yyyy/mm/dd")
        '
        
        'Dim rep_path As String
        '=========================================================
        Select Case report_kind
               Case "spchr.rpt"
                'rep_path = App.Path & "\" & report_kind
                'MsgBox rep_path
                'MsgBox report_for
                'Set report = report_app.OpenReport(rep_path)
                'report.Database.Tables(1).Location = App.Path & "\tests.mdb"
                'report.RecordSelectionFormula = "{tests.test_res_all}='áÇÆÞ' and {reg_student.reg_thk}='" + report_for + "'"
                common_report
                report.ParameterFields.Item(1).ClearCurrentValueAndRange
                report.ParameterFields.Item(1).AddCurrentValue report_sp
                report.RecordSelectionFormula = "{tests.test_res2}='" + report_for + "'And {tests.test_date_pbf}=#" + date_now + "#"
        End Select
        cryview1.ReportSource = report
        cryview1.ViewReport
        'cryview1.PrintReport
        'report.ParameterFields(kkk).Value = "150"
    End Sub
    plz fast
    In the name of allah , the beneficent , the merciful

    Say (O Muhammad ): We believe in allah and that which is revealed unto us and that which was revealed unto abraham and ishmael and isaac and jacob and the tribes , and that which was vouchsafed unto moses and jesus and the prophets from their lord . we make no distinction between any of them , and unto him we have surrendered


    ---- Great Sites For You -------------------

    If you want to know some small things about islam ?

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: my crystal report don't show more than 80 records '' ??

    Do you mean 80 records on one sheet or only 80 records and there are no other records visible on any page?

    Moved
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: my crystal report don't show more than 80 records '' ??

    i dont see any problem in ur code.
    check the report and see that u have not limit the record size to 80, u can check the record size option with the help of help menu of crystal reports
    Thanks and Regards,

    Muhammad Abbas

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