INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Userform required in Access 2007

Userform required in Access 2007

(OP)
hi guys, long story, kept short
I am making a copy of an existing db in access 2000, and rebuilding it to Access 2007.

The original has a userform (for my client to select reporting options) in v2000, but I can't see how to make one in v2007.

I found the toolbox - so I know it should be there somewhere!

Could someone please point me in the right direction?

thanks
T

RE: Userform required in Access 2007

What does your form need to have? Is it only for direct entry? Does it need buttons?
For simple entry, use the wizard to create a form from the source (table or query). If you need more than that you'll have to be more specific.
I hope that helps.

RE: Userform required in Access 2007

(OP)
Hi Laurie
thanks for interest.
There is no source table or query.
it has buttons, used to select specific report names, the buttons captions are a description of the report, so the running subroutine pauses until the selection is made, then the userform is unloaded.

I can do the buttons, I have the code, I just can't see how to create/design a userform within the VBA.

Shot in the dark - should I have some reference library checked? The original has "Microsoft Forms 2.0 Object library" checked under tools|references, but the 2007 doesn't have that line.


T

RE: Userform required in Access 2007

Microsoft simply tried to hife it by default. In the VBA IDE select:

View>Toolbars>Customize...>Commands

Select the Insert category, then simply drag and drop the UserForm command onto the actual Insert menu in the IDE.

RE: Userform required in Access 2007

I'm not sure why you wouldn't use a standard Access form. Just click create on the ribbon and select form design.

Duane
Hook'D on Access
MS Access MVP

RE: Userform required in Access 2007

(OP)
strongm, exactly what I needed, many thanks, take a star.

Duane, thanks for comment. I did search tektips before posting, but the results referring to using a form appeared far more complex.
I needed to paused the subroutine, and then go back to the same spot, and a much earlier post had recommended using the userform, which worked exactly as I wanted.

Problem I had was that I am using Access 2007 for the first time, and all variants are slightly different.

RE: Userform required in Access 2007

Quote:

I did search tektips before posting, but the results referring to using a form appeared far more complex.
I needed to paused the subroutine, and then go back to the same spot, and a much earlier post had recommended using the userform, which worked exactly as I wanted.
Probably posted by someone who does not know much about Access and comes from an Excel background. Any Access form opened using the ACDIALOG windowmode parameter of the docmd.openform function does that.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close