473,289 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

text Field "can grow" property

Is it possible in a form while entering data in a text field to get the field to drop down so as to see all of what you're typing. I know this option is available in a Report but haven't come across any information about it regarding forms?

Regards,

Steve
Mar 27 '07 #1
2 2911
missinglinq
3,532 Expert 2GB
There is no "can grow" equivalent for forms. One work around is to allow the user to use the ZoomBox command to expand the text box for data entry/viewing. The best way is probably by using the DoubleClick event:

Expand|Select|Wrap|Line Numbers
  1. Private Sub YourTextBox_DblClick(Cancel As Integer)
  2.    DoCmd.RunCommand acCmdZoomBox
  3. End Sub
The drawback to this method is that the zoombox is large and awkward and you can't control where it pops up. Give it a try, and if you feel it's too unwieldly, post back and I'll give you a work around that requires a bit more work but one where you can control the size/placement of a custom zoom box.
Mar 27 '07 #2
There is no "can grow" equivalent for forms. One work around is to allow the user to use the ZoomBox command to expand the text box for data entry/viewing. The best way is probably by using the DoubleClick event:

Expand|Select|Wrap|Line Numbers
  1. Private Sub YourTextBox_DblClick(Cancel As Integer)
  2.    DoCmd.RunCommand acCmdZoomBox
  3. End Sub
The drawback to this method is that the zoombox is large and awkward and you can't control where it pops up. Give it a try, and if you feel it's too unwieldly, post back and I'll give you a work around that requires a bit more work but one where you can control the size/placement of a custom zoom box.

Thanks missinglinq,

I'll give it a go.

regards,

Steve
Mar 27 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

119
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see,...
11
by: Robert Lacoste | last post by:
Dear Access gurus, I was using since years Access 97, now under XP SP2, without any problem. However I've just reformatted my HD (viruses...), reinstalled XP SP2, and then I am no longer able to...
2
by: norvinl | last post by:
Hi, I have a textbox on a form. When I assign a string to the .Text property while in my form's constructor, the program just hangs indefinitely. Alternatively, if I assign the string to the...
0
by: huobazi | last post by:
I have many dropdownlist controls in my ascx (and use LoadControl in a aspx fiel) file,so i write a method "InitList(DropDownList list,string strsql,string TextField,string ValueField)" but when i...
1
by: Charlie | last post by:
Hi: I'm using the HTML File Field control as a file picker for uploading files to a SQl Server image field. When page posts back to initiate upload, if file is small (under about two megs) all...
2
by: Gustavo De la Espriella | last post by:
Hi, I know this is not a Crystal Reports group, but news.cogniza.com recieves like one question per week. Does anyone know how to push fields following a textbox when it grows with the "Can...
1
by: welles.lo | last post by:
Hi all, I found that the default "can grow" in Crystal Reports 10 is different from the one in Crystal Report 9. In version 9, when "can grow" is disable, the words in the field are chopped...
2
by: Seanw | last post by:
i created a report in access. the output look like spreedsheet(every field has solid border) there is one colunm have some fields have very long content. so i set all colunms to "can grow" but in...
0
by: sudhashekhar30 | last post by:
hi i m trying to set text property of label which is in content page from javascript function. function empcodesize() { var size=document.getElementById('<%=TxtempCode.ClientID...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.