Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update from VFP to AS400
Message
From
25/01/1999 11:25:20
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00179216
Message ID:
00179834
Views:
39
Michael,

Thanks for the reply. I thought the SQL Update would be easiest, but I receive an error. It is expecting my AS400 file to be in the VFP dbc. Here is my code:

CREATE CONNECTION .....

SQLEXEC(lnHandle, "SELECT * FROM QS36F.GMBIAP6 GMBIAP6;
WHERE GMBIAP6.WDC=' ' AND GMBIAP6.WSBTC = ' '", 'cRefunds')

UPDATE QS36F!GMBIAP6 SET GMBIAP6.WSBTC = 'Y'

SQLDISCONNECT(0)

DELETE CONNECTION .....


What am I doing wrong? Thanks again for your help! :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform