Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp deletes a record when i DID NOT ask!!!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01148403
Message ID:
01148407
Vues:
18
It seems to me you are not specifying the name of the table where the record is...

>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
>
>
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform