473,499 Members | 1,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Data Environment & Data Report in VB^

2 New Member
i want to pass 2 string parameter from a form3 to data environment to generate data report. when i use the below code i get a run-time error message of code '-2147217872(80040e30') stating that "Type name is invalid"
the code i used is
Expand|Select|Wrap|Line Numbers
  1. DataEnvironment1.Cmd1 Form3.Text1.Text, Form3.Text2.Text
  2. DataReport.Show
  3.  
where cmd1 is the command name in the data environment. Pl help me.
Any other way to send the 2 string parameter to data environment and then call data report???
Dec 3 '11 #1
0 1039

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

Similar topics

0
4968
by: Naveen | last post by:
Hi, Is the data repeater and datalist control available for win forms? if not, then are there any alternatives available? -Naveen
6
5153
by: Ray | last post by:
Hi all, While I use the ReportDocument of vb.net to set filter to the data to the Crystal Report, it is successful for the first time while running the program. However, for the second time while...
4
1699
by: BrianDH | last post by:
Hi I am working on a C# Windows Application that builds an invoice (CR) converts to PDF and attach to email one at a time. This works untill my invoice count get over 40 to 50 invoices then I...
4
5846
by: nachu | last post by:
I Would Like To Know The Basics Of Data Report And Data Environment As, How To Use Them Or For What Are They Used For,
10
2983
by: gillian3114 | last post by:
i need to view salary payslip (data report) based on that particular month and year. in Data Environment sql : SELECT, , , , , , , , , FROM salary WHERE month_paid = ? and year_paid = ? ...
1
1068
by: Arvindkumar | last post by:
Hi all VB Developers I have a problem with associating data source to the textboxes in VB Report. Note :- I am not using data environment. I set the connection and recordset at the form...
0
7155
by: JP | last post by:
Hello: I am using VB 6.0 with a Windows XP Professional environment. I am also using Access 2000. I am currently building a program and need reporting capabilities. So, I started a Data...
2
2731
by: tanty | last post by:
Dear members, I have one problem, and i need for your help all, because for my Second Year Project How 'bout Data Environment to connect SQL Server and Visual Basic for Data Report too. Please...
2
1989
by: opie | last post by:
I cannot seem to use the Data Environment Designer. I have gone to Components under the Designers Tab, but it is not available. All I get is "Addin Class", "Data Report", "DHTML Page", "Microsoft...
1
990
by: tanmyid | last post by:
I'm using VB6.0 and i am trying to design a report using data environment such that when i run the report it prompts me for a certain parameter then i can view details corncerning that parameter ie...
0
7131
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,...
0
7174
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7220
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...
1
6894
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3099
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3091
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
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 ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.