Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETALL doesn't work in a report what about FOR EACH
Message
De
30/12/1998 13:51:08
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00171616
Message ID:
00171628
Vues:
31
>I am resetting the database for each cursor in a report's dataenvironment.
>
>SETALL doesn't work in a report(as follows):
>this.SetAll("Database",gcAppPath+"\database\library.dbc","Cursor")
>
>Would FOR EACH work? What would be the syntax? I took a stab at:
>
>FOR EACH CURSOR IN DATAENVIRONMENT
> cursor.database = gcAppPath+"\database\library.dbc"
>ENDFOR
>
>but this doesn't work. Any ideas?

It seems to me that both ways will not work for reports, you should use AMEMBERS() to get all DE members and loop through the resulting array.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform