If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > how to get information of label or textbox of paticular section of datareports

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-17-03, 01:36
sendtovasu sendtovasu is offline
Registered User
 
Join Date: Dec 2003
Location: chennai
Posts: 27
Lightbulb how to get information of label or textbox of paticular section of datareports

hello

thanks for seeing this question

im using vb with data reports, i want to set cation of particular label in the section(report header) in datareports i tried

the sample coding but it giving error of 'subscript out of range'


me.sections(1).item(1)="sdf"

any other alternatives please help me
Reply With Quote
  #2 (permalink)  
Old 12-17-03, 11:02
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,075
I'm not familiar with datareports, but I would check to see if it's a zero based numbering system as most languages are. Out of range generally means you're calling an element that doesn't exist.

me.sections(0).itme(0)="sdf"
Reply With Quote
  #3 (permalink)  
Old 03-31-04, 10:04
jomafemar jomafemar is offline
Registered User
 
Join Date: Feb 2003
Posts: 15
try this:

RptName.Sections.Item("Section1").Controls.Item("l abel1").Caption = "What ever"
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On