cancel
Showing results for 
Search instead for 
Did you mean: 

User defined fields reference in Matrix VB6

Former Member
0 Kudos

I have a couple of user defined fields on the Delivery Details Matrix that I need to update. I know that I need to reference them by index as follows:

Set oEditText = oDelDetMatrix.Columns("Index").Cells.Item(ivlRowCounter).Specific

oEditText.Value = CCur(dvlSomePrice)

The problem is even if I check Watch window for the indexes I can not be certain what indexes to use for these columns. Is there a way to get exact index number?

Is there a way to reference matrix columns by by field names?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

solved it myself - thanks

Former Member
0 Kudos

Spoke too soon.....I just solved it ->

Set oEditText = oDelDetMatrix.Columns("U_DolPerOz").Cells.Item(ivlRowCounter).Specific

oEditText.Value = dvlSomePrice