Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Forums > Access
Back to Access Forum    Comments List
Upload Images   Link   Email  
code to rtn to continous form
Jeff Nabarek 
      
8 months ago
If someone could provided me with a generic code that will return to a continuous form

Private Sub DisplayAllRecords_Click()
DoCmd.OpenForm acForm, "PassListF"

End Sub
Ludwig Willems 
     
8 months ago
volgen :)
Adam Schwanz 
            
8 months ago
What do you mean "return"? Do you just want to open a form? It looks like you got that with a simple openform command, or are you trying to return to a certain record in the form or return a variable from a function to the form or something else? Give more explanation please.
Richard Rost 
            
8 months ago
Are you trying to do some stuff and then return to the active control you left from?
Jeff Nabarek OP 
      
8 months ago
I have three options for one form layout.   The options are ADD, Edit and Mark file inactive.  By pressing for example ADD. The user chooses a record on the Left.   It then opens the form with that screen.  Same holds true with Edit and Mark file inactive.
If I use the wizard and create a button. Return to record list.  It flashes slightly and sits and does nothing.

I have since writing the issue.  I am working on VBA statements.  Thus the error put in the forum came up.  So use the wizard on occasion.  I prefer VBA.  

Any assistance is appreciated.  Thank you Jeff
Kevin Yip 
     
8 months ago
You cannot switch between continuous form view and single form view with VBA, because that can only be done in design view.  You need to create two separate forms to do what you described: one for continuous form view, and one for single form view.

You can, however, switch between datasheet view and form view with VBA, but this does not work for subforms:

     DoCmd.RunCommand acCmdDatasheetView     ' Switch to datasheet view

     DoCmd.Runcommand acCmdFormView     ' Switch to form View

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/4/2024 11:28:35 PM. PLT: 0s