PC Review


Reply
Thread Tools Rate Thread

Code Understanding

 
 
Randy via AccessMonster.com
Guest
Posts: n/a
 
      12th Apr 2005
Can someone explain what actions would be taken relative to the following
code...

Option Compare Database

Const LinesPerPage As Integer = 15

Dim intExtra As Integer

Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)

intExtra = 0

End Sub
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If (Me.txtLineCount >= txtTotalLines) And ((Me.txtLineCount + intExtra)
Mod LinesPerPage <> 0) Then
' Done with regular data lines.
If intExtra = 1 Then
' Make data controls invisible
Me.Text122.Visible = False
Me.Text124.Visible = False
Me.Item_Amount.Visible = False
Me.Item_Fund.Visible = False
Me.Item_Object.Visible = False
Me.Item_Center.Visible = False
Me.Item_Loan_INV_NBR.Visible = False
Me.Item_Quantity.Visible = False
Me.Item_Unit.Visible = False
Me.Item_Description.Visible = False
' . . .
End If
intExtra = intExtra + 1
Me.NextRecord = False
End If
End Sub

--
Message posted via http://www.accessmonster.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with understanding this little bit of code Daniel Microsoft ASP .NET 8 13th Sep 2007 08:16 PM
Need help understanding code =?Utf-8?B?b3hpY290dGlu?= Microsoft Access VBA Modules 2 21st Feb 2007 09:18 PM
need help understanding this code snippet =?Utf-8?B?bWI=?= Microsoft C# .NET 2 28th Jul 2005 07:05 AM
Need Help understanding code Richard Microsoft Excel Misc 4 29th Aug 2004 06:11 PM
Help understanding the following VBA code...... Frank Microsoft Excel Programming 2 11th Jul 2003 06:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:27 AM.