If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Controls locked on Split Form after Access Update

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-12, 09:17
imagodaniel imagodaniel is offline
Registered User
 
Join Date: Nov 2011
Posts: 6
Controls locked on Split Form after Access Update

I have a split form in an Access 2007 mdb. It has a combination of bound and unbound controls. I cannot enter into any of the unbound controls until I first enter into one of bound controls.

This behavior goes away when I set the form to Single Form.

This behavior started when I updated to MS Access 12.0.6535.5005 from 12.0.6211.1000. I this was included with Office 2007 SP2.

I first discovered it while running the db on another PC with an updated version of access. When I returned to my own PC the problem went away. The problem returned after I updated my own PC.

How can I enter an unbounded control right after loading the form?
Reply With Quote
  #2 (permalink)  
Old 01-25-12, 10:50
imagodaniel imagodaniel is offline
Registered User
 
Join Date: Nov 2011
Posts: 6
Workaround

txtSerial was the control giving me trouble. This addition "fixed" it. I still don't understand what the issue was.

Code:
Private Sub Form_Load()
Me![txtSerial].SetFocus
End Sub
After I enter information in the field I have to select a bound field or click on the datasheet attached to the split form. I can of course manually reset the focus, but this doesn't seem right.

Last edited by imagodaniel; 01-25-12 at 11:28.
Reply With Quote
  #3 (permalink)  
Old 01-25-12, 12:52
imagodaniel imagodaniel is offline
Registered User
 
Join Date: Nov 2011
Posts: 6
Better Solution

I changed

Code:
Me.RecordSource = strSQL
Me.Refresh
to

Code:
Me.RecordSource = strSQL
Me.Requery
I still don't understand why an Access update would lead to this...
Reply With Quote
Reply

Tags
access 2007, forms, split form

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On