Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update command
Message
 
To
23/06/2006 13:07:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01131206
Message ID:
01131269
Views:
13
>SET RELATION TO pcode1 INTO pcode1

Cyclic relationship I think.


>>below command not update all the records in "inward1.dbf"
>>
>>sele 0
>>use pcode1
>>sele 0
>>use inward1
>>update inward1 set inward1.vattype=pcode1.vattype where inward1.pcode = pcode1.pcode
>>
>>
>>
>>
>>warm regards,
>>mk.
>
>Try setting a relation between the two tables
>
>SELECT pcode1
>SET ORDER TO pcode
>SELECT inward1
>SET RELATION TO pcode1 INTO pcode1
>UPDATE inward1 SET inward1.vattype=pcode1.vattype WHERE inward1.pcode = pcode1.pcode
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform