Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace fields with relation
Message
From
27/06/2014 03:47:59
 
 
To
26/06/2014 16:19:42
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Windows
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
DB2
Application:
Desktop
Miscellaneous
Thread ID:
01602617
Message ID:
01602642
Views:
50
Be aware that SET RELATION does not filter on parent key
Just does an implicit Seek() when recno(parentTable) changes

I would rather do this:
REPLACE in DataEntry OtherField WITH 1 for DataEntry.EmpNumber = Navigation.EmpNumber
>In a FoxPro 2.6 application, I need to replace fields by using a relation. I thought it should work, but it doesn't.
>
>
>USE Navigation
>SET FILTER TO MyField = 1
>
>USE Dataentry
>SET FILTER TO MyField = 100
>SET ORDER TO EmpNumber
>
>SELECT Navigation
>SET RELATION TO EmpNumber INTO Dataentry
>REPLACE ALL DataEntry.OtherField WITH 1
>
>
>Strange thing, it does not have any effect. Maybe I'm missing something?
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform