Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / March 2007

Tip: Looking for answers? Try searching our database.

How to a bound textbox on a form grow

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
clara - 16 Mar 2007 19:58 GMT
Hi all,

I have a bound textbox on a form and the control may contain large number of
chars from a table. My method is to set its Can Grow property, but it doesn't
work.
How can I handle it?

Clara

thank you so much for your help
missinglinq - 16 Mar 2007 21:29 GMT
CanGrow is only avaiable in Reports, not on Forms!  Sorry! One way to handle
large amounts of data in a textbox is to use the ZoomBox. This code "expands"
the textbox when you double-click on it:  

Private Sub YourTextBoxName_DblClick(Cancel As Integer)
 DoCmd.RunCommand acCmdZoomBox
End Sub

You can also use it to enter a large amount of data without having it scroll
out of site!

Signature

There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

clara - 19 Mar 2007 14:15 GMT
Hi AccessMonster,
Thank you very much for your answer. Let's look the problem from the other
side. If the textbox is bound to a large field in a table and when ii is
filled with the data, how does it  tell that the data is too long to fit and
acivate the zoombox code.

Clara

thank you so much for your help

> CanGrow is only avaiable in Reports, not on Forms!  Sorry! One way to handle
> large amounts of data in a textbox is to use the ZoomBox. This code "expands"
[quoted text clipped - 6 lines]
> You can also use it to enter a large amount of data without having it scroll
> out of site!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.