473,625 Members | 3,306 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to automatically scroll up to the Form

14 New Member
I have a form with 2 tabs and a header.
Tab1 has some text fields on it and button.
At form load the 2nd tab is not visible.

When i enter some text in the fields under Tab1 and then click the button, the set focus is set to Tab 2 and tab1 disappears.
the problem is that when the tab 2 appears, the form does not scroll to the top. Instead the scroll bars remain in the middle.

Is there way, that when i click the button, the scroll bars are automatically set to the top of the form.

Please help.
Jul 24 '07 #1
1 6047
missinglinq
3,532 Recognized Expert Specialist
The ususal problem, when this happens, is that the first control to get focus is down far enough on the form, or in this case the tabbed page, that Access has to scroll down to make it visible. When you move to the second tabbed page, try setting focus to a control at the top of the page.

Welcome to TheScripts!

Linq ;0)>
Jul 24 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
5629
by: dschectman | last post by:
I have an interesting issue. I need to implement a dynamic table to mimic a select list. Each time you double click from the master list, a row is added to the list of selected items. The list of selected items has a column header and differentiation between odd and even rows. This part is trivial. Clients have the ability to re-order the list of selected items. This is also trivial: I trap the onClick event for a row to select it. ...
0
1892
by: Tim | last post by:
Hello, I'm using Access 2000 and I have a main form with a large subform. When tabbing through the fields on the main from, the screen automatically tabs down, as I like, but when I tab into the subform, the sreen does not automatically scroll vertically as I tab to fields off the screen. Is there a way to fix this so the user does not have to move over to the scroll bar? I know that many might say to make the subform so it fits on...
3
3984
by: Devonish | last post by:
I have a form designed as a Continuous form which displays one record per line. Taking account of the header and footer and the size of the screen, I can display 30 records at a time. I can see other records by scrolling up or down with either the scroll bar on the right of the screen, or the up and down arrows which are above and below this scroll bar; or I can use the scroll wheel
0
1246
by: Bill Reed via AccessMonster.com | last post by:
I have an overly long detail section of a form. Is there anyway to automatically force the detail section to scroll down as the user tabs through the fields, while keeping the form header section stationary? -- Message posted via http://www.accessmonster.com
1
2445
by: Dan Sikorsky | last post by:
I'm using SmartNavigation and need to automatically scroll to the top of the page when the ValidationSummary control catches errors and displays them, so that the user can see the errors without having to manually scroll to the top. How can I determine if the ValidationSummary will display errors so that I can issue a javascript window.scrollTo(0,0) or document.body.scrollTop = 0 (or something more appropriate) to automatically scroll to...
2
2219
by: usenet | last post by:
When I open a form design window in Access 2003 it *always* has scroll bars, this is even when the form itself is tiny. It's as if the 'page' on which the form is being designed is very large. Is this normal? If so it's very annoying and confusing. If not then how do I get it so my form design window doesn't have scroll bars. -- Chris Green
11
7303
by: bobdydd | last post by:
Hi Everybody Access 2000 Windows xp On a form with a single command button connected to a database of 1 thousand records. I would like to be able to press the command button and automatically scroll through the records as quickly as possible. annd then stop at the end of the recordset.
2
1696
by: Bob Alston | last post by:
I have a form that is longer than the screen size, so there is a scroll bar to the right of the form. Inside the form there is a memo field that is longer than the height of the screen. It allows text to be entered adjacent to various checkboxes. When I scroll down and then start to type inside the memo field, the typed characters are entered correctly, however the screen scrolls up so that the top of the memo field is at the top of...
6
1485
by: =?Utf-8?B?UGF1bCBT?= | last post by:
Hi I have a screen display news data stored in a database. Sometimes the amount of data displayed exceeds the screen size. How can I make this scroll automatically over and over again ? thank Paul S
0
8635
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8356
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8497
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6118
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4193
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.