Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan no running
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01418319
Message ID:
01418334
Vues:
50
>>>The scan below is not running
>>>
>>>SELECT email_anexo
>>>
>>> SCAN
>>>
>>> thisform.refresh
>>> LOCATE FOR emails.cod = email_anexo.id
>>>
>>> IF FOUND()
>>> replace email_anexo.spam with .F.
>>> ELSE
>>> replace email_anexo.spam with .T.
>>> ENDIF
>>>
>>> ENDSCAN
>>
>>Why do you need SCAN?
>>
>>replace spam with (NOT email_anexo.id == emails.cod) IN email_anexo
>>
>
>Do you want REPLACE ALL here?

Did I?
No, but the code want it (or at least what I think the code want)
Stay aside of the EOF status when the MAIL is NOT found.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform