473,657 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[vb.net2005]passing 2 variables from a form to report + calculating sum of a function

4 New Member
Hi,
I have the following problem:

I have a Crystal Report with subreport. In every detail line of the subreport (with a field "price") I have to calculate something ("X"), depending on the field "price" and on 2 variables the user enters on a windows form (date and period). These 2 variables are always different and are no part of the table.

In the report footer I have to make the sum of this calculated field.

I understand it's possible to make this "X" in a function in Crystal Reports, but it seems it's not possible to create a sum.

In Access I solved this problem by first creating a new table, and for every record, containing these 2 variables. In this new table was also the field "X" with the calculated results. Then, with this table I created my report. Now it's possible to make a sum of "X".

But I'm using VB.NET now, and I really don't have any idea how to accomplish this... Can anybody help me please?
Oct 16 '07 #1
1 1201
debasisdas
8,127 Recognized Expert Expert
Question moved to .NET Forum.
Oct 16 '07 #2

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

Similar topics

11
1449
by: A.M-SG | last post by:
Hi, I understand that be default VS2005 uses the ASP.NET development server to run and test ASP.NET applications. Is it possible that we use IIS for ASP.NET application debugging in new IDE environment?
0
1082
by: Julian | last post by:
I upgraded this program from VC6 to .NET2003 a few months back. I had to change some of the source code, but I was finally able to get it to compile and link properly. I just tried to upgrade the same code from .NET2003 to .NET2005 and again I had to make some code changes (basically had to do with looping scope and defining operator function return types)... so, now I am able to compile all the files, but when it tries to compile, I get...
6
1350
by: UniSoft | last post by:
Hello, I have created one form in vb.net 2005 and i need its printout on A4 size paper, but its leave some space on top and bottom, i have also tried to increased the size of that perticular form but it allows me max 760 pixel only. So can you please give me the solution for How can i increase that form size in vb.net 2005. is it a limitation?
0
2442
by: manishkumar | last post by:
I am new to vb.net2005. In vb.net 2003 code to connect to crystal report 9 is running very perfectly. But in vb.net same code is not runnig.Please help is it is urgent
2
2133
by: amitsaxena | last post by:
hi, I m using asp.net2.0 with c# , i want to export the data into pdf report format without use of crystal report and third party tools ,so please suggest me and send the code . Thanks & Regards Amit
5
1300
by: Cyril044 | last post by:
Hi guys Me again. I just cant seem to get the hang of .NET 2005. I am having a problem with viewing reports. I manage to publish and install my program on the clients machine but now i have made reports to help them view data. What happens is that they enter the name of the staff member which is then written to a table and then select the desired report. The first time a report is viewed it goes in no problem. Once they have finished...
7
5849
by: harikap | last post by:
hi , here im using vb.net 2005how can i add radiobuttons as column to windows datagridview control plz help me....
2
1202
by: newkhan | last post by:
Hello, Suppose we are using .NET 2005 and dealing with sql server database containing two tables. Now we have make their adapters and bindingSource using built in features of .net 2005. After this to make a rdlc report we want to put the data according to our choice to be filled in the report. For that purpose we have to make a data set with same photo copy of the table that is in sql server with diffrent name. How it can be made. How...
2
1840
mafaisal
by: mafaisal | last post by:
Hello Experts I am Using VB.Net 2005 And Sql 2005 I Want to Insertion of Image in to DataBase And its Retrievel And Also Passing of Images to Crystal Reports I am searching For This B coz I Have Table Company In that Company Name Addres Phno And Logo of Company, In All Reports I Pass this Name & Address as PArameter in Crystal Report also I Wantthe Logo in All report, then Hw to PAss This If any one Use Like this Plz give The Code of...
0
8403
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8316
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8737
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8610
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7345
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4327
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.