Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET ORDER TO gives wierd result
Message
From
07/09/2000 01:02:22
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
 
To
07/09/2000 00:57:42
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00413322
Message ID:
00413325
Views:
20
Oops,

The description field should be C(50).

Gavin...

>Hi All,
>
> I've come across a very strange problem with SET ORDER TO in VFP6.0. Can someone try the following step of events and see if they encounter the problem:
>
>CREATE DATABASE thisisatest
>CREATE TABLE jobfunctions ( jobfunctionid N(10), description N(50) )
>
>BROWSE the table and enter these three records
>
>1,Z
>2,G
>3,A
>
>Type SET in the command window, then click PROPERTIES, MODIFY, then click on the index column in the Fields Tab and set both fields to have ascending indexes. Click OK, OK and close the SET window.
>
>Now type SET ORDER TO jobfunctionid. You'll notice that the order is now set to the DESCRIPTION index. I know that index names can only be 10 characters in length so shouldn't setting the order to jobfunctionid cause an error because jobfunctionid is not an index? Am I going crazy here? I've just spent about 2 hours trying to find why a Grid on form is displaying in the wrong order.
>
>Thanks,
>Gavin...
Previous
Reply
Map
View

Click here to load this message in the networking platform