Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect double records
Message
De
12/04/2010 10:26:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01459753
Message ID:
01459762
Vues:
30
yes, the blank record is created and saved.

I have checked lastkey() in the Help but cannot find any clue.

I decided to add a flag, so the code becomes
thisflag=vinvdetail.flag
select stock_id from vinvdetail into curs temp where stock_id=this.value and thisflag<>vinvdetail.flag
if _tally<>0	
   wait windows 'This item already exist...' timeout 1
endif
seems not very efficiens but it works.

thanks for the help
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform