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

Unbound text box doesn't take input

Status
Not open for further replies.

VicM

Programmer
Sep 24, 2001
444
US
Hi,

I'm using Access 2010 on a Win 7 box.
I have a form which has a TabControl in the Details section of the form. The TabControl has about four tabs. On one of the tabs I want to add an Unbound text box. When the user enters data to the text box and presses a button located on the same tab, it will run code to do a table lookup using the data in the text box.

The text box's Enabled property is set to True and its Locked property is False. When in form view, the text box is not accepting input. There are other text boxes in the tab that accept input, but they are all tied to table/query elements. I tried moving the text box to the header; but had the same results.

I do have other forms which have Unbound boxes and accept input. I even tried copying one of those boxes and pasting into the TabControl. Again, no luck. So I'm not sure what is going on.

Has anyone seen this problem? Any suggestions?

Vic
 
Mea culpa.

In this DB the login procedure determines which users have Write/Edit/Delete capabilities for some forms thru code in the OnLoad event. The one I was trying to add the text box to being one of them.

Without thinking, I accessed the DB by NOT going thru the normal login procedure; but by holding down the left shift key while opening the DB. So the DB did not register me as an administrative user. Hence the inability to add input to the text box.

Needless to say, I created the problem trying to save some keystrokes by not using the login procedure. LOL

And here I was all ready to vilify Microsoft. (Not that they don't need it!)

Anyhow, 'problem' solved.

Thanks,
Vic
 
And now you know that your security measures is working!

The Missinglinq

Richmond, Virginia

The Devil's in the Details!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top