Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp deletes a record when i DID NOT ask!!!
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Vfp deletes a record when i DID NOT ask!!!
Divers
Thread ID:
01148403
Message ID:
01148403
Vues:
59
Hello


I made a class that has a function that wehn find a recrod deletes it ...when i was debugging my program...it showed me a problem in the seek function ...i solved it but
i realized that it deleted a reocrd from plplfmae.dbf when i already be in plplmov.dbf
WHAT HAPPENED??
Thank you
Luis Martin
select plplfmae
.
.
.
select plplfmov

IF SEEK(configtraba+ccodempleado+xmes+xano+cconcepto)	
		DELETE FOR cod_emple= plplfmae.cod_emple AND mes = xmes AND;
		 ano=xano AND mocodconce= cconcepto
		MESSAGEBOX("REGISTRO BORRADO ")
	ELSE
		MESSAGEBOX("NO SE ENCUENTRA EL CONCEPTO --> "+cconcepto)
	ENDIF
.
.
.
.
ENDIF
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform