User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 456,512 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,694 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 1064 | Replies: 3
Reply
Join Date: Jun 2007
Posts: 29
Reputation: shahriar2403 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
shahriar2403 shahriar2403 is offline Offline
Light Poster

Datas from different tables in one crystal report..

  #1  
Sep 27th, 2007
Let, i have a msàccess db with 3 tables having 'cost' field in all of them . Now in my report i want to
1) Show the sum of costs of indivisual table under the heading of each table (let $3000 for every table) &
2) show the sum of all the sum value of individual tables (here it would be $9000) at the bottom of the page under 'total' heading. How can i do it? Plz help me.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2007
Location: Cavite,Philippines
Posts: 508
Reputation: ryan_vietnow is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 68
ryan_vietnow's Avatar
ryan_vietnow ryan_vietnow is offline Offline
Posting Pro

Re: Datas from different tables in one crystal report..

  #2  
Sep 28th, 2007
Use LEFT JOIN command in your SQL Query to combine all the 3 tables.
"death is the cure of all diseases..."
http://ryantetek.wordpress.com
Reply With Quote  
Join Date: Feb 2007
Location: Bangalore,India
Posts: 1,444
Reputation: debasisdas is on a distinguished road 
Rep Power: 4
Solved Threads: 87
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Nearly a Posting Virtuoso

Re: Datas from different tables in one crystal report..

  #3  
Sep 29th, 2007
Use suitable joins to retrive data from multiple tables.
Share your Knowledge.
Reply With Quote  
Join Date: Jun 2007
Posts: 29
Reputation: shahriar2403 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
shahriar2403 shahriar2403 is offline Offline
Light Poster

Re: Datas from different tables in one crystal report..

  #4  
Sep 29th, 2007
Would you plz kindly give some coding with example. Actually i am new in it. If da example is close to my problem that would be very much appreciable...
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 3:51 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC