If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > Visual Fox Pro and mySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-03, 03:40
ipac ipac is offline
Registered User
 
Join Date: Sep 2003
Posts: 3
Visual Fox Pro and mySQL

Is it possible to delete in a mySQL table using Visual Fox Pro 7.0?
i tryed:
lha=SQLCONNECT('buhaha','user','pass')
SQLEXEC(lha,"SELECT * FROM buhuhu","cbu")
SQLEXEC(lha,"DELETE INTO cbu")

No error, but it doesnt delete anything!
Reply With Quote
  #2 (permalink)  
Old 09-28-03, 01:58
sarahk sarahk is offline
Registered User
 
Join Date: Sep 2003
Location: New Zealand
Posts: 6
I haven't done this before but the syntax in vfp to delete would be

"delete from mytable where name = 'smith'"

http://www.universalthread.com/ is a dedicated vfp forum with free and "premium" options.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On