We Recommend

Visual Basic 2008 Programmer's Reference Visual Basic 2008 Programmer's Reference
Visual Basic Orcas Programmer's Reference is a language tutorial and a reference guide to the upcoming Orcas release of Visual Basic. The tutorial provides basic material suitable for beginners but also includes in-depth content for more advanced developers.


Posted By

qrist0ph on 05/12/08


Tagged

access


Versions (?)


Aller Felder + Formel eines Berichts ausgeben


Published in: Visual Basic 


  1. Sub felderVonBericht()
  2. Dim rpt As Report, ctl As Control
  3. Set rpt = Reports("Tagesberichtneu")
  4. ' Name des Berichts ausgeben.
  5. Debug.Print rpt.Name
  6. ' Controls-Auflistung jedes Berichts durchlaufen.
  7. For Each ctl In rpt.Controls
  8. If ctl.ControlType = acTextBox Then
  9. Debug.Print ctl.Name & ": " & ctl.Properties(3)
  10. End If
  11. Next ctl
  12. End Sub

Report this snippet 

You need to login to post a comment.