Gossamer Forum
Quote Reply
Global for summing
Hello!

First of all, I wish everyone here at GT a nice and sunny summer Cool

Now, a question:

I have in my databaze a column "Maximum capacity" (Column Type = INT and Form Names are stored from 1 to 10).

I would like to show the total number of beds - is there some kind of simple global to do that?

That means, I need to show the sum of all the numbers (beds) of all the ads as a total amount.

Many thanks in advance!

EDIT:

Sorry, a small correction - it should calculate only ads that are marked as "I offer accommodation" (Column Name = Rent_or_hire; Column Type = ENUM; Form Names = 1 or 2, 1 is the one who is correct).

Last edited by:

katakombe: Jul 27, 2013, 8:53 AM
Subject Author Views Date
Thread Global for summing katakombe 3386 Jul 27, 2013, 8:27 AM
Thread Re: [katakombe] Global for summing
Andy 3297 Jul 28, 2013, 1:22 AM
Post Re: [Andy] Global for summing
katakombe 3260 Jul 28, 2013, 6:10 AM