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  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  User Defined Ta...  Calculated Field
Previous Previous
 
Next Next
New Post 7/21/2006 12:19 PM
User is offline Stuart
471 posts
www.getyourowntots.com
8th 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
A Dotnetnuke Service Provider
 
New Post 7/21/2006 12:55 PM
User is offline Sebastian Leupold
13721 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 2:33 PM
User is offline Stuart
471 posts
www.getyourowntots.com
8th 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
A Dotnetnuke Service Provider
 
New Post 7/21/2006 2:54 PM
User is offline Stefan Cullmann
1454 posts
6th 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

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

Need to import external data to a UDT? Try http://www.codeplex.com/Csv2UDTImport

 
New Post 7/21/2006 7:26 PM
User is offline Stuart
471 posts
www.getyourowntots.com
8th 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
A Dotnetnuke Service Provider
 
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.

 


PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult

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