Results 1 to 4 of 4

Thread: POSSIBLE...?? Set CrystalReportViewer.RecordSet = MyRecordSet

  1. #1

    Thread Starter
    Lively Member nilesh16782's Avatar
    Join Date
    Feb 2007
    Location
    India
    Posts
    104

    Talking POSSIBLE...?? Set CrystalReportViewer.RecordSet = MyRecordSet

    hi..
    plz help me....
    i want to create report without make .RPT file.. (Dynamically)

    Can u suggest any magical code like Datagrid.RecordSet=TempRS
    where TempRs=Reordset variable...


    plz help me...
    takecare

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

    Re: POSSIBLE...?? Set CrystalReportViewer.RecordSet = MyRecordSet

    The CR Viewer is redistributable but it would still need a reportsource rpt file. You can set the DataSource of the report to a recordset but to dynamically create the report witout having CR would be a license violation even if it was possible. Why would anyone want to buy CR if they can just program it themselves.

    Thread 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

  3. #3
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: POSSIBLE...?? Set CrystalReportViewer.RecordSet = MyRecordSet

    AFAIK, it can be done
    If You are using VB6 and Crystal Reports XI or lower, You can use RCAPI (Report Creation API), but it is extra licensed (you have to pay an extra for every installation you make)
    If You are using VB.net then you can use the Crystal Reports Engine that comes with VB.net
    http://vb.net-informations.com/cryst...ery_string.htm
    You can google about these

  4. #4

    Thread Starter
    Lively Member nilesh16782's Avatar
    Join Date
    Feb 2007
    Location
    India
    Posts
    104

    Re: POSSIBLE...?? Set CrystalReportViewer.RecordSet = MyRecordSet

    ok ..thanks for helps

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