Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set relation order issue
Message
From
05/08/2002 04:51:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/08/2002 02:07:20
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00686100
Message ID:
00686105
Views:
38
>Some code was written for a client where two tables were joined using a "set relation to". Everything is fine except the records are not printing in the right order because of the "set index" command that precedes the relation command. Is there a way to set the order such that it prints right or do I have to use a SQL statement and put the records into a cursor before printing?

If you set order to a valid key for the realtion it'd work, however you might also need to set skip.
Creating a cursor instead is easier IMHO.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform