Skip to Content
author's profile photo Former Member
Former Member

Converting LinkedButton field

Hi,

I have the following problem:

Private oEditText As SAPbouiCOM.EditText

Private oMatrix As SAPbouiCOM.Matrix

I am getting data from the matrix, but when I try

Set oEditText = oMatrix.Columns(1).Cells (pVal.Row).Specific

VB keeps telling me I have the wrong type.

I tried the solution from the post "Getting data from LinkedButton matrix cell", but can't get it to work; quite possibly because I'm new to VB.

How can I convert the data from LinkedButton field to EditText?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 20, 2005 at 01:38 PM

    Instead of

    Set oEditText = oMatrix.Columns(1).Cells (pVal.Row).Specific

    Use

    Set oEditText = oMatrix.Columns.Item(1).Cells.Item (pVal.Row).Specific

    It may help,

    Miki

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.