use a form text box in a report

D

Diane

Here my code
Why intGetAccountNumberPageBreak text box alway empty?
the form open at report runtime

Private Sub GroupFooter0_Format(Cancel As Integer,
FormatCount As Integer)
Dim intgetval As Integer
ingetval = Int([Forms]![FrmOperatingReportsDialog]!
[intGetAccountNumberPageBreak].Value)
If intgetval = 2 Then
Me.GroupFooter0.ForceNewPage = 2
Else
Me.GroupFooter0.ForceNewPage = 0
End If

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top