Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update statement
Message
From
15/01/2002 23:15:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Update statement
Miscellaneous
Thread ID:
00605218
Message ID:
00605218
Views:
58
Hi all,
I type the following sql command in foxpro environment but an error returns:

function name is missing.

I cannot find anything wrong with following statement.
---------
update vehicle set brc_id=(select co_brc from co_temp where cbpo_ref = cbpo_num) where empty(brc_id)=.t.
---------

vehicle table: brc_id, cbpo_num
co_temp table: co_brc, cbpo_ref

but if I change the statement as following, it can work

select co_brc from co_temp where cbpo_ref = '2'

Anything wrong?
Linda
Next
Reply
Map
View

Click here to load this message in the networking platform