Show name from one table, and a sum from another table.

Hi,
For instance: I have 2 tables.
1. Table1 has fields TenantID, TenantName,
2. Table2 has fields AmmountCredit, AmmountDebit, TenantID.
I need the following behavior.
In the detailed section I want my report to show a list of TenantName, and a SUM of AmmountCredit minus Ammount Debit for that Tenant (which will come from Table2).
How would I do this?  If a formula is involved, please provide an example because I'm fairly new to Crystal Reports.
Thanks
Aron

Hi Aron,
Please see if this helps:
1) Go to the Database Expert > Add the two tables > Go to the Links tab > Join the two tables on the 'Tenant ID' field using an 'Inner Join' > Click OK
2)  In the report, go to the Group Expert and create a group on the 'Tenant ID' field
3) Place the 'Tenant Name' field on the Group Header 1
4) Suppress the Details Section
5) Create a formula with this code and place it on the Group Header 1:
Sum({AmountCredit}, {TenantID}) - Sum({AmountDebit}, {TenantID})
Here, {TenantID} is the Group field. So replace these fields with the right fields from your datasource.
-Abhilash

Similar Messages

  • I have an extensive aperture library on my computer's hard drive and I want to break it up into separate smaller libraries on external hard drives.  How do I take projects from one library and add them to another one?

    I have an extensive aperture library on my computer's hard drive and I want to break it up into separate smaller libraries on external hard drives.  How do I take projects from one library and add them to another one?

    Coastal,
    Frank gave you the exact answer to your question. 
    However, I would like to ask if you are indeed asking the right question.  Do you really want different libraries?  The implications are that you have to "switch" libraries to see what's in the others, and so that your searches don't work across all of your pictures?  If so, then you asked the right question.  If not, you may be more interested in relocating your masters to multiple hard drives so your library gets smaller, instead of breaking up the library.
    nathan

  • How can you take a photo from one event and put it in another, without dragging to desktop and dragging back into iPhoto and moving it to the event folder I want it in.

    As the title says I need help on how to take a photo from one event and put it in another, without dragging to desktop and dragging back into iPhoto and moving it to the event folder I want it in. Right now when I want to move a picture from one event to another I drag it to my desktop then delete it from iPhoto then I drag it back into iPhoto and put where I want it.An example would be taking a photo from the Christmas event and add it to a specific person event.  Can I do that within the events section without all the dragging. Also is there anyway I can remove duplicates from iPhoto without going through each and every file. Any help would be greatly appreciated.

    Apple doesn't make it easy to do what you want.  However, here's how I do it. 
    Select the photo you want to move and create a new Event for it via the Event ➙ Create Event menu option.
    In the Event mode select the new Event with the one picture and drag it onto the Event you want to move the photo to.

  • Is there anyway to take a downloaded app from one computer and put it on another without rebuying it. I have a macbook that I bought the new iMovie and iPhoto on, but I would rather it be on my iMac. So is there anyway I can change it?

    Is there anyway to take a downloaded app from one computer and put it on another without rebuying it. I have a macbook that I bought the new iMovie and iPhoto on, but I would rather it be on my iMac. So is there anyway I can change it? I thought that if I bought it the apps on my macbook, they would be avaliable on my imac like the mobile devices operate. The macbook has 10.6.8 cause its a older model and I think lion would slow it down. Any help??

    Just redownload it on the other computer by logging into the App Store with the same Apple ID you used to purchase it.

  • Can you edit a person from one photo and add them to another photo?

    Can you edit a person out of one photo and add them to another photo?  Like if you need the head shot from one photo to replace closed eyes in the other photo?  Thanks.

    Thank you very much!  Does this require software to be purchased?  I'm new to Photoshop. 
    From: Bill Hunt <[email protected]>
    To: Kittie Gugenheim <[email protected]>
    Sent: Monday, April 25, 2011 11:46 AM
    Subject: Re: Can you edit a person from one photo and add them to another photo?
    Welcome to the forum.
    Yes, this is done often. You will need to create a Mask of that person, to separate them from the background of the original Image.
    I like to do this with a Layer Mask, as it offers control, and really does not alter the Image, so you can go back and make changes.
    Let's say that you have Image 01 w/ the head of your subject, and want to place it into Image 02. In Image 01, make a rough Selection. I would include a bit of extra background, as we will take care of that in a moment. With that Selection active, Copy the head shot. Go to Image 02, and Paste it. It will Paste in its own Layer. Ctrl+T (Free Transform) can be used to Scale and also position that Layer with the head. Once you have that Scaled and positioned about where you want it, create a Layer Mask. In QuickMask Mode, just paint in the additional Mask to remove all traces of the background that came in with the head shot. As you can paint OUT, and also paint IN the Mask, you can work on this, as many times as you wish - even next year.
    For getting that Layer Mask looking good, work slowly, also see this http://graphicssoft.about.com/od/photoshop/l/blrbps_5agirl.htm.
    I've got another tutorial, that addresses the hair area, and will post that, when I find my bookmark.
    Good luck,
    Hunt

  • How do i select a clip from one project and enter it into another?

    how do I select a clip from one project and enter it in another?

    This doesn't seem to relate to Adobe Reader. Please let us know the product you are using so we may redirect you or refer to the list of forums at http://forums.adobe.com/

  • What is the best way to remove elements 10 from one pc and install it on another?

    What steps need to be taken to remove Adobe Elements 10 from one pc and install it on another?

    Use back up and restore from the Organizer menu. You are permitted two activations so no real need to deactivate the old copy unless you have installed it previously on another machine.
    See these instructions for PSE6 and above.
    http://helpx.adobe.com/photoshop-elements/kb/backup-restore-move-catalog-photoshop.html

  • Looking for best apple software for image extraction i.e. select an image from one photo and place it on another photo

    looking for best apple software for image extraction i.e. select an image from one photo and place it on another phot

    Cannot guarantee it's the best, but it certainly is the least expensive:
    http://www.gimp.org/downloads/

  • Hi i want to take a sequence from one timeline and drop it in another timelien without having to reedit the sequence. how do i do this thanks

    hi i want to take a sequence from one timeline and drop it in another timelien without having to reedit the sequence. how do i do this thanks

    leeg
    Your new thread was a success.
    Our original discussions on transferring content from one Premiere Elements project to another can be found
    What am I missing?
    in posts 4, 5, 6, and 7 of the above link.
    Good choice in deciding to go with the export from project 1 into project 2.
    Thanks again for your follow up and good work.
    ATR

  • Can you cancel Adobe Photoshop CS6 from one computer and put it on another?

    Can you cancel Adobe Photoshop CS6 from one computer and put it on another computer?

    Yes. You have to deactivate it on one computer and then you can install it and activate it on another. Technically, your license allows you to have Photoshop CS6 installed and activated on two computers, you just can't use both at the same time.

  • How can I take an item from one image and move it to another image?

    How can I take an item from one image and add it to another image, and rotate it to fit?

    Carefully select the objects of interest in one image and then copy, scale and position them into the other image. Then touch up the composite.
    Have to Love Photoshop for Retouching Images!

  • Is it possible to clone an object from one image and paste it on another image?

    Is it possible to clone an object from one image and paste it on another image in Aperture?

    As Frank said,
    but Aperture has a nice clone tool - the drawback is, that it only works within one image.
    What I sometimes do - as a workaroud, when I want to use the clone brush, is to combine the image I want to clone from and the image I want to clone into, into one single image by printing them together to pdf as jpeg. Then I can clone from the second to the first, for example, to be able to add an fairy to a flower: Picking up the head of the fairy in the right image and brushing it into the left one. Occasionally I prefer the Aperture brush to the Photoshop lasso.

  • Count moving object (Inter the ROI from one side and leave ROI from other side)

    Hello All
    I want to design program that can counting moving object that inter ROI from one side and come out from the other side, I want to give each object ID number
    I have design a program that compare between object distances from one frame to the next frame, but the program efficiency is very low
    If any one can give me a sample code that I can use or modify it to suite my application

    Hello,
    you will find the code in the attachment (saved for LV2013). There is a longer delay inside the loop, remove it for efficiency.
    Roughly measuring the time to read an image, the processing takes ~8 ms on my computer (~500x200 image resolution). That is ~125 samples/images per second. Is this not fast enough for you? Considering better image resolution, the time is of course increased.
    My specifications:
    Core i7 3632QM
    6 Gb RAM
    Win 7 x64 (Labview x86 though).
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
    Attachments:
    IDMovingObjects.zip ‏64 KB

  • Can i uninstall Dreamweaver from one computer and re-install onto another comuter?

    can i uninstall Dreamweaver from one computer and re-install it on another computer?

    Yes, you require an internet connection.
    Launch DW
    Choose Help --> Deactivate
    Uninstall using the Add or Remove Programs system control panel
    Download the installer from the Adobe site directly or using this method
    Install it on the new machine
    Launch it with sufficient user privileges (admin)
    Let the activation go through
    Mylenium

  • Is it possible to uninstall Adobe Premiere Elements 13 from one computer and put it on another PC, using the same serial number?

    I had installed Adobe Premiere Elements 13 on my laptop, which is slow. Is it possible to completely remove the program from my laptop, and reinstall it on another PC, using the SAME installation disc?

    Tomquer
    If all you have is the Premiere Elements 13 purchased activated serial number on one Windows computer, you can go ahead and do nothing else but install the program from the disc on the second Windows computer with the same purchased serial number.
    That will leave you with the purchased activated serial number on two of your computers.
    Adobe allows you the same purchased activated serial number on no more than 2 of your computers. So, nothing to do but to use one at a time.
    Lots of scenarios beyond.
    1. Deactivate Premiere Elements 13 from computer 1. Do not bother to uninstall. Deactivation is not the same as uninstall.
    To deactivate, in an opened Premiere Elements 13 project, go to Help Menu/Sign Out. Close out of there.
    Then do nothing, leave the program in the deactivated/installed state.
    2. Deactivate and Uninstall Premiere Elements 13 from computer 1.
    Any questions or need clarification, please let us know.
    Thanks.
    ATR

Maybe you are looking for