Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete records
Message
De
04/08/2004 03:13:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Delete records
Divers
Thread ID:
00930569
Message ID:
00930569
Vues:
61
hi all,

i want to delete record from table1=record form tabel2

i'll try with this code, it delete the first top record only,
CLOSE all
DO WHILE .t.
  SELECT 1
   USE ali
     m.char3=char3
  SELECT 2
   USE ali123
    LOCATE for ali123.char3=m.char3
       IF FOUND()
        DELETE  

         SELECT 1
         skip
           IF EOF()
             EXIT
           ENDIF
      endif
enddo
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform