[mso] Re: Access Question

Kelly--

1) Add two buttons to the form: cmdDown & cmdUp
2) In the code behind cmdDown, enter the following line:
        SendKeys "{pgdn}"
3) In the code behind cmdUp, enter the following line:
        SendKeys "{pgup}"

There are other ways of accomplishing what you need, but the above ahs
always worked for me. (Microsoft is trying to dissuade all of us from
using the SendKeys method, for several reasons, so you may want to do a
bit of homework if you're unsure about its implementation.

Hope this helps...

--Jim

-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Nix, Kelly
Sent: Wednesday, March 24, 2004 2:08 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Access Question


Hello All

I want to put a button on a tabular form that will "pageup" or =
"pagedown".  The form runs off of a query and can have from 1 to =
hundreds of records, showing 10 at a time on the form, and I'd like the
= user to be able to scan up and down the form 10 at a time, without =
having to hit each record.  Right now I just put a note on the form to =
use the up and down page keys on the keyboard to do that, but I'd like =
to make it part of the form.

Thanks


Kelly S. Nix=20
Technical Support / Systems Administrator=20
Waterstone Benefit Administrators, Inc=20
knix@xxxxxxx < mailto:knix@xxxxxxx>=20




*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the
quotes) in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will
also allow you to change your email settings to digest or vacation (no
mail). http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group,
send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: