PDA

View Full Version : Sum two fields in detail section of vb data report


irfan512
Jan 3, 2008, 10:23 PM
Dear Sir,

I am using VB Data report and I am getting problem in putting formula

How can I get result of sum of two fields in detail section of data report like:

text1= Field1 + Field2 (Detail Section)

Please give me an early response.

regards,

Irfan512

Duane in Japan
Jan 7, 2008, 05:41 AM
I think that we need to see more code from your project. Are you trying to use a formula to add two cells called Field1 and Field2 into a cell called text1.

Did you build the entire application with VB6 or Visual Studio 2005 or are you using a pre-existing Excel sheet in which case you are only trying to use an Excel Function or VBA?