DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

ChnAreaDel deleting wrong rows in a string channel

Hi, I have a string channel. If the string channel row value doesn't match the expected string, I want to delete this row. I don't know the row number until the not match string is detected.

 

iloop is the row number I loop through. For example, iloop can be 1,2,3..

Here is the expression I use,

  Set oMyAssgnList = Data.GetChannels("[1]/"&cstr(CNoXGet(1,3*iloop-1)))
  Call Data.Remove(oMyAssgnList)

Data.GetChannels("[1]/"&cstr(CNoXGet(1,3*iloop-1))) doesn't work.

Is there a way to make this work?

Thanks,

0 Kudos
Message 1 of 2
(2,214 Views)

Just noticed this is not the correct post, sorry for the confusion.

0 Kudos
Message 2 of 2
(2,180 Views)