Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any quick way to update the records
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01258106
Message ID:
01258113
Views:
13
Sorry,

I might have misunderstood your question, but if it is speed issue,

check that the fields: stafft.lcode, stafft.sec, AND stafft.subcode are all indexed. If they are not you will notice a significant speed improvement when they are indexed.

Regards

Mathias

>*table "newt" have lcode, sec and res10,res11....res24
> *and table staff have lcode,sec and fail.
> *I want to fail with res10,res11....res24 value
>lcode have ="c1....ct" and also lcode contain different sec
>

>I try but it is not easy.
>UPDATE stafft ;
> SET stafft.fail = newt.res13 ,;
> SET stafft.fail = newt.res17 ;
> FROM newt;
> WHERE stafft.lcode = "C5" AND stafft.sec="C"AND stafft.subcode="c19"
>

Mathias Banda

Time is longer than a rope.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform