Problems focusing on a subform field

A Jedi

Board Regular
Joined
Mar 23, 2004
Messages
86
I am using access 97 on a windows 98 machine

I created a 2 page entry form using tabs. The first page works fine. When you click on the tab for page two you have focus issues.

The page comes up properly and the focus is put on the first field. Good so far ...
the entry page is longer than the screen. As you shift from entry field to entry field the focus does not change. Once you go below the bottom of the screen you can't see anything. This forces the user to manually adjust the scroll bar as the continue to enter data. Irritating to say the least!!

It seems as if the focus is being placed on the subform rather than the entry field. Any suggestions?? :oops:
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi A Jedi,

I think we can tell it to add new record when we want it to be focused in New Record row. It should scroll to new record automaticially.

Say your subform name is mysubform;

Code:
    With Me.mysubform
        .SetFocus
        .Form.Recordset.AddNew
    End With


I hope it helps.
Suat
 
Upvote 0

Forum statistics

Threads
1,221,773
Messages
6,161,855
Members
451,724
Latest member
sledparty

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top