Hi! Could someone help to understand: I need to check if an attribute in each row of the tabular section is filled?
I'm trying to use the following code:
Code |
---|
Procedure OnWrite(Cancel) For Each CurRow In Items Do If CurRow.Item <> Catalogs.Items Then UserMessage = New UserMessage; UserMessage.Text = "Item is not filled"; UserMessage.Message(); Cancel = True; EndIf; EndDo; EndProcedure |
But this cancels write every time.