>>I want to use "WITH THIS.EventType" but how do I handle the CASE .EventType? Something like .Value? Or can I not have an object.object this way?
>>
>>
>> WITH THIS
>> DO CASE
>> CASE .EventType = 'A'
>> .EventType.Code = 'S12'
>>
>>
>
>I'm not sure what the question is. What is 'EventType'? It sounds like it's a property of 'This'. If so, then I don't see anything wrong with what you have above. Does it not do what you expect?
I think Sylvain understood what I was looking for. It works, but wanted to simplify it. Was hoping I could just bookend the block with "WITH THIS.EventType" and "ENDWITH" but it looks like I can't.