Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

edit userform window ms access

Posted on 2013-11-22
5
Medium Priority
?
353 Views
Last Modified: 2013-11-22
Hi Expert's

how would you do the following on a userform.

1. Hide the record display at the bottom
2. Change caption in form window
3. Remove hide minimise and x buttons
4. Add a close button to close the form
0
Comment
Question by:route217
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
Bill Ross earned 2000 total points
ID: 39668521
Hi,

The first 3 items are available on the form property window.  Design the form, click Properties and look for the property
1. Navigation Buttons
2. Caption
3. Min Max Buttons and/or Close Buttons

For your last question you will need to drag the Button on the form.  Select the On Click property and click [Event Property].

Click on the ... to the right in the property line which opens the VBA window.

Enter one line of code as shown below:

Private Sub...
  docmd.Close acForm,me.Name
End Sub

Regards,

Bill
0
 

Author Comment

by:route217
ID: 39668531
Thanks bill...excellent


one last point....left hand plane on form not in design view underneath caption
you have a right arrow which u can click how do you remove this
0
 

Author Comment

by:route217
ID: 39668547
Found it records selectors....
0
 
LVL 14

Expert Comment

by:Bill Ross
ID: 39668560
Good.  You're learning fast!
0
 

Author Comment

by:route217
ID: 39668586
Hi bill

I have another question open....care to shed some light
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question