Total of multiple columns in datagrid

I

Ian Cook

I am using VB 6 and have a bound datagrid pulling data from a Pervasive Database by ODBC connection. Column 3 shows opening balance and columns 4-15 show net movement for each month. I want to have a text box on my form that shows sum of columns 4-15 for active record. How do I do it? my code is showing a concatenation of Columns 4-15 not a sum.

Thanks in advanc

From http://www.developmentnow.com/g/12_2005_3_0_0_0/dotnet-framework-aspnet-datagridcontrol.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com
 
E

Elton W

Hi Ian,

It's dotnet.asp.datagrid group.

About VB6 web developing questions, you can post in
following URL:

http://msdn.microsoft.com/newsgroups/default.aspx?
dg=microsoft.public.vb.6.webdevelopment&lang=en&cr=US

Or you can find other VB 6 proper URL in:

http://msdn.microsoft.com/newsgroups/topic.aspx?url=/MSDN-
FILES/028/201/012/topic.xml

HTH

Elton Wang
(e-mail address removed)


-----Original Message-----
I am using VB 6 and have a bound datagrid pulling data
from a Pervasive Database by ODBC connection. Column 3
shows opening balance and columns 4-15 show net movement
for each month. I want to have a text box on my form that
shows sum of columns 4-15 for active record. How do I do
it? my code is showing a concatenation of Columns 4-15 not
a sum.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top