Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub Detail_Format is not called

Status
Not open for further replies.

tabaki

Programmer
Nov 14, 2001
19
BE

Perhaps it is a stupid question, but I don't seem to get the Detail_Format procedure called.

I have a test database (2007) with one table called and I have created a test report that prints 2 records (in the detail section) on each page. I've adjusted the Detail on Format event a bit to see if it is called, but no cigar

Can someone tell me what I am doing wrong. I've looked around a bit on the internet but I haven't found any thing that explains this behaviour

this is my code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
MsgBox "hallo"
End Sub
 
Code permissions are enabled, I've opened my report in each possible vieuw
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top