Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Widen number of records by field
Message
 
 
À
03/11/2009 07:18:29
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01432871
Message ID:
01432911
Vues:
53
Agnes,

I don't think you can solve this in VFP without Numbers table. In SQL Server you can use recursive CTE to create Numbers table.

BTW, Boris, I remember you created some very smart algorithm for 1+2^n records, but I'm afraid I didn't archive that thread - do you remember it?

May be we can create Numbers table in VFP using your idea and a few UNION statements.

>Hi Sergey,
>
>Be patient we me. Maybe I didn't see the solution
>
>My problem in your words
>
>How can I create (if possible) a cursor with the sequential numbers up to MAX(iChair) temporarly within a SELECT SQL and without an extra created cursor?
>
>Your first example simply creates 2*Reccount() records, I have expressed the problems. The second example runs on an extra cursor this is not what I'm looking for.
>
>So what do I miss?
>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform