Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Richards Date Button Video
Julian Dyer 
     
4 years ago
Hi,

I have just watched your date button video.

Can you do a little video where you reuse the buttons that you did with the date buttons + 1 day - 1 day, +1 week  etc and use them on another form.

Can  it be done.  Example, the order form uses an "order ready" by date, eg 2nd Decemember 2022, then come that date, we now have a delivery screen that would say be 5th December 2022, however, can I use the same existing buttons, without creating new ones.  I accept that the delivery date field needs an individual name such as delivery date.

Can that be done?
Adam Schwanz  @Reply  
           
4 years ago
Kind of confused what you're asking. You want to push a button on the main form to increment a date on a subform? If that is the case, you could just add a checkbox to the main form next to the buttons like SubformCheck, and then use an ifstatement in your buttons

If SubformCheck=True Then
'set the field to increment to the subform field name
Else
'do the increment on the normal fields
End If

If you were going to use multiple fields, you could use a combo box to pick which subform/form you wanted to change, or you could push a button inside the subform to send a number to an invisible textbox on the main form and identify the form that way. There's a million ways you could tell it which form to work on, I'm just not sure what you're trying to accomplish. Upload pictures maybe?
Alex Hedley  @Reply  
           
4 years ago
Alex Hedley  @Reply  
           
4 years ago
So you want a way to highlight a control that will have the date entered?
Richard Rost  @Reply  
          
4 years ago
Just pass any control to the function that I build in the extended cut and it will work with any field.
Julian Dyer OP  @Reply  
     
4 years ago
Hi Alex,

Have you used the Sage programmes, the best way I can think of is..

Sage has a Sales Ledger, Purchase Ledger and Stock Control.  Within each module there is a "Save" button, "New", "Advance", "previous" buttons.

Can I create for example just 1x "Save" button and copy and paste that into each form I design/Make or does that button need to be created from new as if it didnt exist.  I understand that I may need to tweak the coding to each form, but the action is still the same on each module.

Thanks


Alex Hedley  @Reply  
           
4 years ago
Does the Save button have logic per form?
You can make global modules that have functionality you could re-use anywhere but you'll still have to hook up the button on each individual Form and call that Sub.

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

Next Unseen

 
New Feature: Comment Live View
 
 

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 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/7/2026 5:02:07 AM. PLT: 0s