Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET ORDER TO gives wierd result
Message
De
07/09/2000 01:02:22
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
07/09/2000 00:57:42
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00413322
Message ID:
00413325
Vues:
19
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...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform