Your Ad Here

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.