Skip to Content
0
Former Member
Sep 20, 2005 at 05:36 PM

only set the fisrt character

26 Views

For i = 1 To ocombo.Selected.Value

oMatrix.AddRow

oMatrix.Columns.item("#").Cells.item(oMatrix.RowCount).Specific.Value = i

oMatrix.Columns.item("ColEfec").Cells.item(oMatrix.RowCount).Specific.Value = "31"

Next i

print:

  1. colefect

1

2 3

3 3

y try with .string .value, with numbers strings

and only copy the first part

if i use "hi" copy h

31 copy 3

"31" copy 3

3 copy 3

what i want i set a string sValor="1-010-21-022-54"

this is my matrix

Set oColumn = oColumns.Add("#", BoFormItemTypes.it_EDIT) oColumn.TitleObject.Caption = "#"

oColumn.Width = 30

oColumn.Editable = False

oColumn.DisplayDesc = True

Set oColumn = oColumns.Add("ColEfec", it_EDIT)

oColumn.TitleObject.Caption = "Efecto Deudores"

oColumn.Width = 100

oColumn.Editable = True

oColumn.DisplayDesc = True