Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro Substitution in a Report?
Message
 
 
À
12/04/1999 15:14:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00207535
Message ID:
00207662
Vues:
9
John,

You can CREATE REPORT at runtime. Here's some sample code from my Report class:
if ( ( this.mnDestination <= 2 ) and empty( this.mcReportForm ) )
   wait window "Creating default report" nowait
   llDefaultReport = .t.
   this.mcReportForm = sys(2023) + "\" + sys(3)
   create report (this.mcReportForm) from alias()
endif
>I have a program that needs to report on information from a table, but the system will not be informed of the layout of the table until runtime. I have tried everything I know to set it up so that the reporting routine works regardles of the name of the fiels using macro susbstitution. So far nothing has worked. Any hints?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform