Reply
 
LinkBack Thread Tools Display Modes
Old 04-30-2011, 02:06 PM   #1 (permalink)
Member
 
Join Date: Apr 2011
Posts: 32
engcosta is on a distinguished road
Default how to rename bounded item

how to rename AV to make it A/V
itry to put this code in GrpDynamicHeader1_Format but it dosn't work
Quote:
Sub GrpDynamicHeader1_Format
Dim txt As String = ReportUtilities.ReturnTextBoxValue(rpt,"GrpDynamic Header1","txtDynamicHeader1")
If txt="AV" Then
txt="A/V"
End If
ReportUtilities.SetTextBoxValue(rpt,"GrpDynamicHea der1","txtDynamicHeader1",txt)
End Sub
engcosta is offline   Reply With Quote
Old 05-02-2011, 06:30 AM   #2 (permalink)
Senior Member
 
Join Date: May 2009
Location: Chennai, India
Posts: 157
nkarthick is on a distinguished road
Default Try this

Hi,

Code you posted seems to be correct only.

But anyway try changing your if condition to

Code:
  

If(Not txt  Is Nothing AndAlso  txt.ToLower().Trim() = "av") Then
  
  txt = "A/V"
  
End If
__________________
Narayana Karthik
nkarthick is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
D-Tools, Inc.