Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need idea for sort
Message
De
01/03/2010 01:07:51
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
26/02/2010 14:31:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01451160
Message ID:
01451701
Vues:
37
Hi Sergio,

thats my idea too.

Agnes
>Determine deepest structure
>Create dummy field that can store surogate key according to structure dept.
>Break each string into substring, pad with zeroes on the left and you get your surogate key
>(This would be function)
>
>
>&&From
>1.1
>1.02
>1.02.R
>1.02.N
>1.02.N.R
>01.3
>1.10.R
>1.10.R.1
>10.1
>20
>20DP
>
>**You create
>000.000.001.001
>001.002.000.000
>001.002.00R.000
>001.002.00N.000
>.
>.
>.
>
>
>Index or order subquery by that surogate field
>
>
>HTH
>Sergio
>
>
>
>
>.
>.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform