CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2010
    Posts
    20

    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.

  2. #2
    Join Date
    Aug 2010
    Posts
    20

    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.

    Quote Originally Posted by gunapriyan View Post
    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
  •  





Click Here to Expand Forum to Full Width

Featured