Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1. Guest ji, please consider donating today!   Become a Supporter    ::   Make a Contribution   
    Monthly (Recurring) Target: $300 :: Achieved: $95

Adding 2 different Rows

Discussion in 'Information Technology' started by JOM, Nov 18, 2005.

  1. JOM

    JOM
    Expand Collapse
    Guest

    I have fieldx in tble1 and fieldy in tble2 I would like to add them up by row
    ie. and put that information in tble3
    the thing is that if tble2 does not have a matching record,but tble1 has
    something then report returns nothing!

    Sum([tble1].fieldx +[tble2].fieldy)
     
  2. Loading...

    Similar Threads Forum Date
    Leisure Okay, so I am trying to sing in a different language... Business, Lifestyle & Leisure Jul 8, 2014
    How many different types of Sikhs are there? Sikh Sikhi Sikhism Jul 8, 2014
    Gurbani of a Different Flavour Intellectual Translations by SPNers Oct 29, 2013
    Leisure If you could go back in time, what would you do differently? Business, Lifestyle & Leisure Aug 25, 2013
    Opinion Facing Adversity - Different Reactions Breaking News Aug 18, 2013

  3. KARL DEWEY

    KARL DEWEY
    Expand Collapse
    Guest

    Try this --
    Sum(Nz([tble1].fieldx) +Nz([tble2].fieldy))

    "JOM" wrote:

    > I have fieldx in tble1 and fieldy in tble2 I would like to add them up by row
    > ie. and put that information in tble3
    > the thing is that if tble2 does not have a matching record,but tble1 has
    > something then report returns nothing!
    >
    > Sum([tble1].fieldx +[tble2].fieldy)
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page