Solved

Sub Form column Size to be Fixed

Posted on 2012-03-28
2
392 Views
Last Modified: 2012-03-28
Hi team,

I have a sub form inserted into a main form.  Now I want to fix the column width of each and every column that is showing up in the Sub form.

I have attached a sample database.  In this you will have a from named as Testing.  In this I have inserted a Sub From, Now I should be able to fix the coloumn with of each of the column of data that is showing up.

Please adivse how do I achive this.

Thanks,
Sandesh.
Check-Payment.accdb
0
Comment
Question by:Sandesh555
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 37777932
Use the form load event procedure as in this example...

Private Sub Form_Load()
' 1440 twips per inch ; 567 twips per cm
Me.Invoice.ColumnWidth = 567
Me.Open_Amount.ColumnWidth = 1440
Me.ID.ColumnWidth = 10
End Sub
0
 

Author Comment

by:Sandesh555
ID: 37777985
Thanks....
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question