Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to delete a record
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01273227
Message ID:
01273229
Vues:
11
First, you should check if record you're going to delete exists. What's the point in asking the user if they wantb to delete non-existent record?

>I am deleting records with these codes
>I have problem some time, if any best instead of this.thanks
>
>xxz = MESSAGEBOX( ;
>      "Are you sure you want to Delete Record?",  ;
>      36)
>IF xxz = 6
>     DELETE 'syllabus' FROM syllabus  ;
>            WHERE syllabus.sno ==  ;
>            thisform.txtsno.value
>ENDIF
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform