Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dupe records? What's up with SCAN FOR command?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00692395
Message ID:
00692402
Vues:
26
This message has been marked as the solution to the initial question of the thread.
I also think you would be better off by doing the following:
SELECT * FROM master ;
        WHERE !EMPTY(master.msca_close) AND ;
        !EMPTY(master.msca_id) AND ;
        !EMPTY(master.disto) AND ;
        master.date+30 < DATE() AND ;
        master.mast_id not in ;
        (SELECT MAST_ID FROM SURV_CA) ;
        INTO CURSOR crsMaster
if notused('crsMaster') or reccount('crsMaster' = 0
   return
endif
select crsMaster
scan
   insert into surv_ca ...
endscan
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform