Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data report - Help !!!!!!!!!!!!!!!!!!
Message
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00254266
Message ID:
00254348
Vues:
22
>Is there any way to access a DataReport (control/variable) that you have place on your report Ex: lblTotal = 200 ???

Sure you can but it is a bit tricky! The syntax is:
datareport1.Sections(2).Controls("Label1").caption = 200

A good way to find out in which section is your control is to put the Stop statement in your DataReport's Activate event. Once there open the Locals window (from the View menu) and inspect your datareport.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform