ms-access


How to display the left side of a continuous form with a scrollbar at opening


I have continuous forms made of a header section and a detail section. Controls in detail section are bound to a recordset, while the ones in the header are not bound.
At opening time, focus is made on the first (left) control of the detail section or, if the recordset is empty, first (left) control of the header section. In such a situation, and for forms that need an horizontal scrollbar, the scrollbar will be set to the right side of the form, and left-side info wil be hidden, confusing the user.
Any way to make sure that, in all case, my form will open with its left side visible?
Thanks
Usually to avoid focus discrepancies, I use a small transparent button that I just call btDeadFocus in the header -or the detail section- of my forms.
This invisible button doesn't actually do anything more than capturing the focus. I just make sure that this button is set it as the first control on the form using the tab order list.
The button also becomes useful in situations where the focus cannot be kept on a control. For instance a control that needs to be disabled. I just move it to the btDeadFocus instead.

Related Links

Access 2007 reports, hiding fields?
MS Access query increment by one when comparing
ms access - need specific result query from multiple tables [duplicate]
Can I programatically open a new query window?
Access 2013 - query with ConcatRelated containing 50000 entries taking forever
Access Reporting displaying data in report?
MS Access textbox control move other controls while it is growing
“Type Mismatch In Expression”, all data types are the same (Access2013)
How to include date & time from two table into one query or report in access
Group by ID, separate the rest into different columns
Using SetProperty/Dlookup macro to autofill
Access sub form not loaded when using SQL tables
Microsoft Access Website on IIS server 2012 R2
Access query to list all records without a link to another table
Access 2013 Web App Filter Combo box value based on other field
MS Access - Customized Price List

Categories

HOME
arduino-uno
image
bluetooth
wso2
atom-editor
pycharm
lodash
react-router
amazon-ecs
electronics
indesign
in-app-purchase
directx
android-youtube-api
medical
slurm
midi
wheelnav.js
windows-azure-storage
ibm-odm
serverless-framework
clearcase-ucm
opentracing
graphlab
evopdf
normalizr
clickonce
functional-testing
sox
hammerspoon
one-to-many
pepper
facet
bootstrap-material-design
fopen
procdump
google-qpx-express-api
framemaker
avcapturesession
html5-fullscreen
main
ruby-on-rails-3.1
jvm-languages
vao
qcombobox
xml-documentation
hibernate-tools
zip4j
multipeer-connectivity
python-c-api
return-value
mu
yii2-extension
android-cursor
chord-diagram
yt-project
angular-cache
intrusion-detection
mathematica-frontend
django-debug-toolbar
merge-conflict-resolution
simplewebrtc
design-by-contract
independentsoft
libressl
interrupted-exception
event-bubbling
p2
truevault
kineticjs
offloading
applescript-objc
ceil
app42
oam
jsctypes
tidy
orchardcms-1.7
mqx
manchester-syntax
gnu-prolog
libc++
appender
yui-datatable
telerik-scheduler
paster
ext3
firefox-5
user-friendly
swing-app-framework
defensive-programming
geneva-server

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App