473,594 Members | 2,692 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

control (i) in data reports in vb6

1 New Member
Hello friends,

i have create a datareport in vb 6.0. i have to display some data through programming in data report. i have to do in by datareport1.con rol( i ) = "abc". but the problem is that how i can know about index No. of controls. Pls. guide me soon.

control (i) in data reports in vb6


thank you very much


jbs
Jul 23 '07 #1
1 1436
Killer42
8,435 Recognized Expert Expert
I haven't used a datareport. But I think that in the Controls collection you can use the name as the index. For example:
DataReport1.Sec tions(1).Contro ls("TextBox1")
Please let me know if I'm wrong about this.
Jul 23 '07 #2

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

Similar topics

3
6392
by: Lore Leuneog | last post by:
Hello Which command do I've to use to set the focus on a control placed on a report in Design-View. Ctrl.SetFocus and Cmd.GoToControl don't work for a report. The aim is to copy the control from the report into memory using the DoCmd.RunCommand command. (Access 2000) Thank you
7
2952
by: André Minhorst | last post by:
Hi, some time ago Stephen Lebans advised me to 'clear' the RTF2-Control to prevent some problems with it. Unfortunately I did not find a way to clear this control before inserting the RTFText of the next recordset in a report. Does anyone know how to clear this control or how to clear ActiveX-Controls in general? The RTF2-Control does not provide a method for doing this - or
1
1129
by: D | last post by:
Lets say we have a tree control with a user as the root node with child nodes that represent test sets they subscribe to (which map directly to sql tables) and related reports (sql stored procedures returning data viewed in a datagrid) list so User |___TestSet1 |_____Report1 |_____Report2
1
1382
by: Sean Pau | last post by:
I would like my user to retrieve SQL data through intranet website: 1. Go to intranet link and enter parameters for report (for example Order From and To date) 2. Click on "Run" button and the data come back in Excel screen. The data are retrieved using SQL Select statements. The return data are all in simple table row and column, there is no other Excel formating required. Users used these data to do further analysis using Excel. I...
0
1184
by: ME | last post by:
I can't seem to delete records using an objectdatasource. The object is a Typed Collection built by Visual Studio that access a SQL Database. When I try to delete using the ObjectDataSource it displays a message that says: Value cannot be null. Parameter name: Original_Description This URL is supposed to be a documented titled "Data Deletion Using the ObjectDataSource Control" but it doesn't seem to work (as of posting)....
11
11558
by: John J. Hughes II | last post by:
I have a DataGridView displaying data from a DataSet. To the right of that I have a custom user control which displays one of the data set fields. The custom user control is bound to the data set object and displays the data correctly when I move from row to row. The problem I am having is the data set always reads the data back and considers it change even when it's not. I am looking for how to change the following code so the...
1
1390
by: polder_udo | last post by:
Hello i have some questions reguarding C#. Sorry for the probably very basic questions but i just started C# and need some informations to start up in the "right way". I need to develop some applicaiton in C# which has to deal with some database-data. The data needs to be modifyed, calculated and printed. For the printing part i will use crystal reports, as i have to print
3
3049
by: poolieweb | last post by:
I have created a custom user control which creates a ASPxMenu ( Same fucntion as standard menu control) from data retreved from a webservice (Reporting Services) which deals with user access. This process is slow. And as the menu object will not change in a session I am trying to cache the menu with the session user as the key. The problem is that I can not retreve the menu object after the first request. The menu items are resident in the...
19
2357
by: MNNovice | last post by:
Hi: I have a report that's based on a query. This report has two sub reports which are also based on two separate queries. Main report: rptECHO Sub reports: srptEchoAP & srptEchoPay srptEchoAP has all data pertaining to invoice payments for all ECHOs. (ECHO is a process through which expenses for a grant get reimbursed.) Similarly, srptEchoPay has data pertaining to payroll expenses. I have sub total of AP and sub total of...
0
7947
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
8255
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8374
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...
1
8010
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6665
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
5413
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3868
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3903
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1486
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.