Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET RELATION ... IN ...
Message
From
04/11/1998 23:43:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SET RELATION ... IN ...
Miscellaneous
Thread ID:
00154666
Message ID:
00154666
Views:
58
This is simply a syntax correction for VFP 6 SET RELATION

There's a new IN clause in SET RELATION TO
The help file says
SET RELATION TO
  [eExpression1 INTO nWorkArea1 | cTableAlias1
  [, eExpression2 INTO nWorkArea2 | cTableAlias2 ...]
  [IN nWorkArea | cTableAlias]
  [ADDITIVE]]
Also SET RELATION TO on its own clears all relations. However it doesn't appear to work with the IN clause.

Here's the correct syntax...
SET RELATION 
  [IN nWorkArea | cTableAlias]
  TO [eExpression1 INTO nWorkArea1 | cTableAlias1
  [, eExpression2 INTO nWorkArea2 | cTableAlias2 ...]
  [ADDITIVE]]
Reply
Map
View

Click here to load this message in the networking platform