CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 i want to calaculate the current balance in a grid, i'm getting error when i applied the below code in Before show

Print topic Send  topic

Author Message
okonkwo

Posts: 3
Posted: 02/06/2018, 5:17 AM

Function DailyTrans_Detail_Bal_BeforeShow(Sender) 'DailyTrans_Detail_Bal_BeforeShow @40-CD057C09

'Custom Code @44-73254650
' -------------------------
SELECT tsd, trans_Date, dailytrans.Income.Value, dailytrans.expenses.Value,
SUM(dailytrans.Income.Value - dailytrans.expenses.Value) OVER(ORDER BY tsd
ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)
AS dailytrans.bal.Value
FROM dailytrans
' -------------------------
'End Custom Code
View profile  Send private message
Oper


Posts: 1195
Posted: 03/28/2018, 4:50 AM

you can not do that. That is a SQL sentence
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.