Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data report - Help !!!!!!!!!!!!!!!!!!
Message
 
To
16/08/1999 16:42:04
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00254266
Message ID:
00254348
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform