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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Form Question - Freeze Part of Form

Status
Not open for further replies.

ksu176

MIS
May 31, 2005
3
US
In MS Access Forms, how is it possible to freeze a top portion of the form. To be more specific when I scroll down in a form I want the top to stay. Similar to freezing cells in Excel. Is this even possible? Thanks for any help that is out there.
 



Hi,

You might want to post this question in Microsoft: Access Forms Forum702



Skip,

[glasses] [red][/red]
[tongue]
 
Again, post Access questions in the Access Forums - you'll get more responses.
If your form is in "datasheet view", then on the OnOpen event, you can place code such as, (This example shows three columns being frozen. Change fieldnames to yours and subtract or add fields)

Private Sub Form_Open(Cancel As Integer)
Me.Controls("BillID").SetFocus 'Column Name to freeze
DoCmd.RunCommand acCmdFreezeColumn
Me.Controls("strDescription").SetFocus
DoCmd.RunCommand acCmdFreezeColumn
Me.Controls("IntVendorID").SetFocus
DoCmd.RunCommand acCmdFreezeColumn
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top