Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL-Replace based on another table
Message
From
16/11/1999 11:28:59
 
 
To
16/11/1999 11:18:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00291482
Message ID:
00291488
Views:
26
>
>select primary
>replace approved with .f. for all encumb_id in ;
>     (select encumb_id from secondary where noapp = .f.)
>
Denise,

Try this:

select secondary
set order to noapp
select primary
set relation to approved into secondary
replace all approved with secondary.encumb_id for !eof("secondary")

This should get you what you want the only problem is if
secondary is a view that is buffered you will have to turn off buffering
before creating the index tag.

Hope this helps

Jeff Whitaker
Previous
Reply
Map
View

Click here to load this message in the networking platform