Results 1 to 4 of 4

Thread: Crystal Report Designing (Data From more than 2 Tables)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    102

    Crystal Report Designing (Data From more than 2 Tables)

    Hi there,
    I am designing Crystal Report v8, I have 4 tables in single Access Database. How can i have datafields from other tables to insert in Crystal Report during desining.
    Plz help,

  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 Designing (Data From more than 2 Tables)

    I would suggest you not bind your report to anything of the tables, but rather, write an SQL SELECT query which gathers the data from all of the tables that you need, and bind your query to the report file.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2005
    Posts
    102

    Re: Crystal Report Designing (Data From more than 2 Tables)

    Hi hack,
    Thank you very much for your help, you always be first in positive response.
    Sorry friend, i don't know how to creat query in Access and don't know even any command of Crystal report related to SQL and son on..
    i'm pretty novice in programming neither i have any teacher to learn VB, just you are the people from where i can gain as much as i can....
    ------
    i simply inserting fields from Tables to crystal report, i want to complete it...
    How you suggest about Data Environment Report? Can it be helpful for me in data printing and viewing..?
    thanx advance for help,

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

    Re: Crystal Report Designing (Data From more than 2 Tables)

    You need to determine what fields and tables you need in your report first. Then you can create a Access query that gives you the results you need. Then in CR you can select the query (called a stored procedure in CR) as your recordsource.

    Make sure you select Stored Procedures in your File > Options > Database tab > check "Stored Procedures" > click OK.
    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

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