Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to delete a record
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01273227
Message ID:
01273229
Views:
13
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform