Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  User Defined Ta...  Calculated Field
Previous Previous
 
Next Next
New Post 7/21/2006 1:19 PM
User is offline Stuart - Hilbert Solutions, LLC
632 posts
www.getyourowntots.com
7th Ranked


Calculated Field 

Can the calculated field use to calculate a whole column?  It appears to me that you can only calculate information in a row.  If it can calculate a column, what is the syntax?

 

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A Dotnetnuke System Integrator
From Module Development to Project Management, your one stop Dotnetnuke Shop
 
New Post 7/21/2006 1:55 PM
User is offline Sebastian Leupold
15057 posts
www.deutschnetnuke.de
1st Ranked












Re: Calculated Field 

calculated fields act only per row, no sum or max function available.

For help on calculated columns have a look into the user manual, available at our project's download page.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 7/21/2006 3:33 PM
User is offline Stuart - Hilbert Solutions, LLC
632 posts
www.getyourowntots.com
7th Ranked


Re: Calculated Field 

Thanks for the reply.

How am I ever going to make my "Settlers of Catan (Die Siedlers von Catan)" game tracker without a column counting function?

I guess our piece of graph paper in the box is working. 

Seriously though.  Any thoughts of adding this feature to the UDT.  I really like the UDT and I think it is a great module!

Tschuss,

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A Dotnetnuke System Integrator
From Module Development to Project Management, your one stop Dotnetnuke Shop
 
New Post 7/21/2006 3:54 PM
User is offline Stefan Cullmann
1553 posts
5th Ranked








Re: Calculated Field 

Stuart,

UDT calculated colum reuses the expression syntax of dataset. You will find a whole description at MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDataDataColumnClassExpressionTopic.asp

AGGREGATES
The following aggregate types are supported:
Sum (Sum)
Avg (Average)
Min (Minimum)
Max (Maximum)
Count (Count)
StDev (Statistical standard deviation)
Var (Statistical variance).
Aggregates are usually performed along relationships. ...[we don't have relationships inside but:]...

An aggregate can also be performed on a single table. For example, to create a summary of figures in a column named "Price":

Sum(Price)

Note   If you use a single table to create an aggregate, there would be no group-by functionality. Instead, all rows would display the same value in the column.

Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com
form and List will be the successor of the User Defined Table module.
----------------------------------------------------------------------
Do you want to import external data to form and List /User Defined Table?
Check out http://www.codeplex.com/Csv2UDTImport
 
New Post 7/21/2006 8:26 PM
User is offline Stuart - Hilbert Solutions, LLC
632 posts
www.getyourowntots.com
7th Ranked


Re: Calculated Field 
I think I am starting to understand here.

Let me explain to you what I am trying to do and perhaps you can present to me the solution.

I am trying to make a simple account worksheet.

I have columns named:

Debit
Credit
Total

Basically I want Total to be equal to Credit-Debit for that row.

I want my table to look like this.

Debit
Credit
Total
300
300
10
290
50
240


Is this possible?

Stuart

Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A Dotnetnuke System Integrator
From Module Development to Project Management, your one stop Dotnetnuke Shop
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  User Defined Ta...  Calculated Field
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP