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

Purchase Order - matrix


I would like to place some data from an array in my code to the matrix in Purchase Order Screen.But the Below code is throwing "Invalid Column" error

If oApplication.Forms.ActiveForm.TypeEx = "142" Then

oMatrix = oApplication.Forms.ActiveForm.Items.Item(38).Specific

If oMatrix.RowCount <= 0 Then


End If

oEText = oMatrix.Columns.Item("ItemCode").Cells.Item(oMatrix.RowCount).Specific

str = aClist(0)

oEText.Value = str

End If

How to solve this?


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 26, 2006 at 07:37 AM

    Hi Manojkumar,

    The column name for itemcode is not "ItemCode", but "1" (between double quotes).

    Also for you matrix use "38" instead of 38

    You can see the name of the column by selecting the menu option View/SystemInformation and move your mouse over the column.



    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.