Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WITH This ... ENDWITH
Message
De
24/09/2007 10:03:58
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
24/09/2007 10:01:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01256274
Message ID:
01256281
Vues:
14
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform