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

Problem with a subform of a subform 2

Status
Not open for further replies.

RSfromCO

Programmer
May 3, 2002
149
US
I have a main form which has a sub-form. That sub-form then has a sub-form of its own that contains check-boxes, buttons, and an unbound textbox.

From the main form, I can click on the buttons, check-boxes, and the textbox and things appear to be functioning. However, when I place the cursor inside the textbox and start typing it doesn't seem to accept any of the characters (its an unbound textbox).

I added code to execute on the key-down event of that control and it does execute (the code is in the form that actually contains the textbox - the subform of the subform). I can programatically update the value inside the textbox (I just put the key-down value into the box). It just doesn't seem to allow me to actually type into the box.

I realize this is an unusual construction (subform in a subform), but it gives me a nice looking little scrolling multi-select checkbox list. I just want one of the checkbox items to allow the user to enter text (the checkbox item is for "Other, Please Describe:")

Has anyone else run into a similar problem?
 
Is the allow edits property of each of the forms set to YES?


Bob Larson
A2K,A2K3,A2K7,SQL Server 2000/2005,Crystal Reports 10/XI,VB6, WinXP, and Vista
Free Quick Tutorials and Samples:
 
How are ya RSfromCO . . .

Check the [blue]Locked[/blue] property as well!

If all else fails, try deleting and reconstituting the unbound textbox . . .

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
Also faq181-2886
 
Thanks for the replies. It does appear that the Allow Edits property of the lowest level subform was somehow set to NO. Changing that to YES made it work. THANKS.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top