-
February 28th, 2025, 05:18 AM
#1
How to change the Data Report Text Box Value in Run Time
Sir,
I am using the following code to update the Data Report Text Box in Run Time. But I am facing error message.
Run-time Error '438':
Object doesn't support this property or method.
Code :
If Rpt_SalarySlip.Sections("Section6").Controls("Text55").Text = "131" Then
Rpt_SalarySlip.Sections("Section6").Controls("Text55").Text = "13A"
End If
Please help me.
-
February 28th, 2025, 06:38 AM
#2
Re: How to change the Data Report Text Box Value in Run Time
Sir,
Actually, I have designed salary slip to all the employees of my office. I have designed Pay Level as numeric. But only one person having pay level as nvarchar.
Thats why i wish to display the pay level to him from 131 to "13A". For this purpose only i am trying to do it in code.
If there is any alternative, please guide me.
 Originally Posted by gunapriyan
Sir,
I am using the following code to update the Data Report Text Box in Run Time. But I am facing error message.
Run-time Error '438':
Object doesn't support this property or method.
Code :
If Rpt_SalarySlip.Sections("Section6").Controls("Text55").Text = "131" Then
Rpt_SalarySlip.Sections("Section6").Controls("Text55").Text = "13A"
End If
Please help me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|