Ask a Question related to Microsoft Access, Design and Development.
-
Brian #1
Text box problems
Hi everybody,
I am having a slight problem w/ one of my textboxes. I get
an error 2176, "You can enter up to 255 or 2,048 characters
for this property, depending on the data type." This error
is generated when I attempt to set the .Text of my textbox
equal to a string stored in an array. The weird part is
that this textbox's .Text was unchanged. What this all
does is I have an "Edit" and a "Cancel" button on my form.
When Cancel is clicked, I have Access go through each
textbox and put the values that were in the boxes when Edit
had been pressed, and therefore before the user had made
any changes. The length of the string I'm trying to put
back into the textbox is 2,800 chars w/ spaces. This
textbox is also bound to a memo field. Here's part of the
code that stores the data to the array,
For Each ctl In Forms!FRACA_DATA.Controls
With ctl
If .ControlType = acTextBox Or .ControlType =
acComboBox Then
.SetFocus
strPreEditVals(y) = .Text
y = y + 1
End If
End With
Next ctl
then here is the part that reputs the values back in
For Each ctl In Forms!FRACA_DATA.Controls
With ctl
If .ControlType = acTextBox Or .ControlType =
acComboBox Then
If y <> 22 Then
.SetFocus
.Text = strPreEditVals(y)
End If
y = y + 1
End If
End With
Next ctl
thanks to anyone that can help me out.
Brian Guest
-
DMW 4 to DMW 8 problems with text
:Q I went from Dreamweaver 4 to Dreamweaver 8 and am now having a difficult time with OLDER browsers that our company will not update (They are... -
problems with text in PS CS
i'm trying to add text to a photo and all i get is a small dot when i click on it with the text tool, no blinking cursor. when i try to type nothing... -
Text Problems
> Can;t figure out where to add the error trapping but this is working fine. then if not(objectP(fIO)) then alert("Could not instantiate... -
Text Field problems, always displays text from half way down..!
Hi I have an ordinary text information field, that is in a separate frame and is jumped to. however when It jumps their the text field is... -
Text problems in MX
I just made the move from Fireworks 4 to mX, and I have to say Im disappointed and will move back unless I can resort this. Whenever I enter text...



Reply With Quote

