Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems re 'With...Endwith'
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problems re 'With...Endwith'
Divers
Thread ID:
00337018
Message ID:
00337018
Vues:
59
I am experiencing errors if I use a 'scan for' statement inside a with...endwith.
with thisform
   scan for .txtBox.value = 'xyz'
      do something
   endscan
endwith
The error I get is: 'Alias .txtbox.value is not found'. From within the debugger I can hold the cursor over this value and it has the correct value. The way to solve this is to add 'thisform' to '.txtbox.value'. But I was wondering if this is only happening to me or is this just the way it is. Also, is there any other commands I need to be concerned with this issue.

Thanks,

Paul Acton
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform