Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Continue bands after last record
Message
 
 
À
28/04/2004 09:26:46
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00897954
Message ID:
00898938
Vues:
17
That's true -- where the index is numeric you can get away with this *if* RECNO() matches your needs.

Steven's case was really limited (the updateable view has just the right records in just the right order) so it's not needed.

*But* this technique is more easily and flexibility applied when you do create an index.
   SELECT source
   INDEX ON RECNO() % 5 = 0
   SELECT dummy
   SET RELATION TO .T. INTO source
  
    * and here you are going to 
    * need those IIF(EOF("source")... 
    * expressions in the report
    * as well.
... etc. For the purposes of working out "what is going on here" I thought it was worthwhile making the index explicit <s>.

IOW, what I wanted Steven to see has nothing to do with "you can set a relation without an index, RECNO() is there" -- and everything to do with "what workarea is selected when you run the report?" and "what is the relationship between that workarea and your data?"

>L<
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform