Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL UPDATE in VFP
Message
From
02/04/2006 11:10:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQL UPDATE in VFP
Miscellaneous
Thread ID:
01109812
Message ID:
01109812
Views:
67
Hello,

I am trying update a string field that represents a time. I want to update the field based on the values of the field itself.

update rssched set end_time = (str(val (substr(end_time,1,2)) + 1) + ':' + substr(end_time,4,2)) where trans_no = '0600217071'

This updates end_time to blank. This same kind of script seems to work in SQL server but not in FoxPro :(

TIA,

Ken
Next
Reply
Map
View

Click here to load this message in the networking platform