473,385 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Equivalent of RunningSum Property

Hi,

Good day to all. I'm an newbie in visual basic. I just want to know what is the equivalent of MSAccess Report's(Textbox) RunningSum property to VB6's Datareport.
You see I'm trying to count the rows displayed on the the detail section of the VB6 datareport and can't seem to find a way to do it.
I have tried it before in Ms Access and I used the runningsum property. But in VB6 datareport, the is no runningsum property.
It there another way to go around this problem? Please help.

thanks in advance
Sep 28 '06 #1
2 1495
Hemant Pathak
92 Expert
Hi..........


you can make a new SQL field like your other field and write below Sql string

Select Count(*) as TotalRecords from TableName

and drag into the ur report.
Sep 28 '06 #2
Hi..........


you can make a new SQL field like your other field and write below Sql string

Select Count(*) as TotalRecords from TableName

and drag into the ur report.

Thanks for the suggestion. I have thought of this before. But you see I just want to count/limit the munber of records displayed on the detail section of the data report. Here's the scenario. I have a datareport and I wanted to display only 18 records per page. So the 18 records are counted and the number is displayed beside them. Some sore of like this found on one page.

1 Alex
2 John
3 James
.
.
.
.
.
18 Robert
Sep 29 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Eric Schneider | last post by:
I'll preface this question with my assertion that I'm not intellectually challenged...(if you ask my wife on a good day she'll probably agree with you too) However, this problem is making me...
2
by: Pea | last post by:
Hello, I have a report with groups, subgroups and counts. I'm trying to give a total for each group and used the RunningSum property by group. But I find that it's running throughout the report....
8
by: Don Wash | last post by:
Hi There! I'm using VB.NET to create a TreeView application and unfortunately I could not find "Key" property in Node items of the TreeView. We used to have "Key" property in TreeView node...
23
by: EOS | last post by:
Hi, As the title indicated, does anyone know the equivalent of GetTickCount() function in C/C++ for C#? The function is supposed to return time elapsed since the computer/device is booted in...
2
by: emc_cos | last post by:
So I am relatively new to Access so please bare with me... I have been able to create a very functional form that will be utilized for time entry for tasks. The primary form is a record...
3
by: tanya foster | last post by:
Hello, I am re-writing a visual basic .net application(visual studio 2003) in an asp.net application(visual studio 2005). The vb.net application relied on a treeview and hence, treenodes. The...
7
by: Mitchell S. Honnert | last post by:
Is there an equivalent of the DataGrid's DataGridTableStyle for the DataGridView? If not, is there an easy way to duplicate the DataGridTableStyle's functionality for the DataGridView? Here's...
3
by: Sebastian | last post by:
Hello all I have a report where I have two nested groups. I know there are only three standard options for running sum: None, Over Group and Over All. I have a MyTextBox in detail section where...
5
by: Jeff Bigham | last post by:
Hi, I'm trying to write an equivalent to the hasAttribute method that will work with IE 6 and 7. IE 8 finally has this method built in. There is supposed to be a way to do this using the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.