Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update SQL Syntax
Message
 
To
12/07/2006 21:21:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135906
Message ID:
01135908
Views:
11
Here you have an example (partial) that is working

CREATE CURSOR Box (box c(10), freezer c(10))
INSERT INTO Box (box, freezer) VALUES ("1","123")
INSERT INTO Box (box, freezer) VALUES ("2","999")
INSERT INTO Box (box, freezer) VALUES ("3","999")
CREATE CURSOR NewLocation (box c(10), freezer c(10))
INSERT INTO NewLocation (box, freezer) VALUES ("2","123")
SELECT Box
UPDATE Box SET freezer = NewLocation.freezer WHERE Box = NewLocation.box

Oscar Zarate
National Australia Bank
Oscar Zarate
National Australia Bank
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform