Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2014, 10:01 AM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 181
Thanks: 0
Thanked 0 Times in 0 Posts
Default Moving SubForm Command Button

I have a frmusers and a subform frmdetails. On the subform I have a command button that executes the code for both the main and subform. I now need to move the command button to the main form.I have tried moving the command button to the main form but this will not work.

Regards
Bart
__________________
Brendan Bartley
 
Old July 2nd, 2014, 02:59 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default Code?

What does the code look like on the button? It seems it is just a DotBang reference issue like [Forms]![MainForm].Subform.Control, etc.
__________________
mmcdonal

Look it up at: http://wrox.books24x7.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter subform from button on main form kawi6rr Forum and Wrox.com Feedback 0 August 11th, 2010 04:29 PM
Moving the new/insert button on DetailsView jpullam ASP.NET 2.0 Basics 3 September 27th, 2007 05:29 PM
Change button caption on continuous subform PeregrinTook Access VBA 2 April 16th, 2007 05:16 PM
Moving total from Subform to Main Form Shepwad Access 1 March 10th, 2006 10:57 AM
moving a button in code goplayoutside VB.NET 2002/2003 Basics 2 April 22nd, 2004 01:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.