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
code to rtn to continous form Upload Images   Link   Email  
Jeff Nabarek       
17 days 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       
16 days ago
volgen :)
Adam Schwanz             
16 days 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            
16 days ago
Are you trying to do some stuff and then return to the active control you left from?
Jeff Nabarek       
16 days 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       
16 days 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
Add a Reply Upload an Image

 
 
 

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: 4/19/2024 9:14:07 AM. PLT: 1s
xxx