473,698 Members | 2,156 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re-using Navigation Buttons in Many Forms?

MX1
Hi,

I've created a series of navigation buttons to be used as a standard across
many forms in an Access DB. Does anyone know an easy way to cut and paste
these navigation buttons into each new form I create. Re-creating them is
VERY Painful and regular cut and paste doesn't work. I've read something
about making a standard module for each button but I don't know how to
assign that to the new buttons on each form. Help.... :(
Nov 12 '05 #1
6 3435
"MX1" <mx*@mx1.abc> wrote in message news:mlFnb.4120 3$ao4.90866@att bi_s51...
Hi,

I've created a series of navigation buttons to be used as a standard across
many forms in an Access DB. Does anyone know an easy way to cut and paste
these navigation buttons into each new form I create. Re-creating them is
VERY Painful and regular cut and paste doesn't work. I've read something
about making a standard module for each button but I don't know how to
assign that to the new buttons on each form. Help.... :(


Put them on a sub-form and modify the code so that it works against the parent
form instead of the one the buttons actually reside in. When set up correctly
you can just drop that sub-form onto any other form and the buttons will work
without doing anything else.

I even set mine up so that the tag property of the sub-form control can be used
to establish the BackColor, Font Color, Font, FontSize, and whether the record
counter text appears to the left, right, above, or below the buttons.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #2
Have a look how it is done in this sample MDB:
http://www.lebans.com/recnavbuttons.htm
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"MX1" <mx*@mx1.abc> wrote in message
news:mlFnb.4120 3$ao4.90866@att bi_s51...
Hi,

I've created a series of navigation buttons to be used as a standard across many forms in an Access DB. Does anyone know an easy way to cut and paste these navigation buttons into each new form I create. Re-creating them is VERY Painful and regular cut and paste doesn't work. I've read something about making a standard module for each button but I don't know how to
assign that to the new buttons on each form. Help.... :(


Nov 12 '05 #3
Thanks! This seems to be working. I can't believe MS did not make it
easier to cut and paste code between forms. Especially for such a nice DB
program...
"Stephen Lebans" <Fo************ *************** *************@l invalid.com>
wrote in message news:tN******** ***********@urs a-nb00s0.nbnet.nb .ca...
Have a look how it is done in this sample MDB:
http://www.lebans.com/recnavbuttons.htm
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"MX1" <mx*@mx1.abc> wrote in message
news:mlFnb.4120 3$ao4.90866@att bi_s51...
Hi,

I've created a series of navigation buttons to be used as a standard

across
many forms in an Access DB. Does anyone know an easy way to cut and

paste
these navigation buttons into each new form I create. Re-creating

them is
VERY Painful and regular cut and paste doesn't work. I've read

something
about making a standard module for each button but I don't know how to
assign that to the new buttons on each form. Help.... :(

Nov 12 '05 #4
Hey, with folks like Stephen Lebans (and many others) providing such great
freebies to support the Access user community, that omission is only a minor
irritation.

Stephen's work is a superb resource, to which I refer people needing
"extensions to Access" on a continuing basis. They, and I, thank him for all
the time and effort he has put in to make the extensions freely available to
us all.

Larry Linson
Microsoft Access MVP
"JBrow" <j@jdp.coj> wrote in message
news:3sHnb.5428 5$e01.150054@at tbi_s02...
Thanks! This seems to be working. I can't believe MS did not make it
easier to cut and paste code between forms. Especially for such a nice DB
program...
"Stephen Lebans" <Fo************ *************** *************@l invalid.com>
wrote in message news:tN******** ***********@urs a-nb00s0.nbnet.nb .ca...
Have a look how it is done in this sample MDB:
http://www.lebans.com/recnavbuttons.htm
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"MX1" <mx*@mx1.abc> wrote in message
news:mlFnb.4120 3$ao4.90866@att bi_s51...
Hi,

I've created a series of navigation buttons to be used as a standard

across
many forms in an Access DB. Does anyone know an easy way to cut and

paste
these navigation buttons into each new form I create. Re-creating

them is
VERY Painful and regular cut and paste doesn't work. I've read

something
about making a standard module for each button but I don't know how to
assign that to the new buttons on each form. Help.... :(


Nov 12 '05 #5
j@jdp.coj (JBrow) wrote in <3sHnb.54285$e0 1.150054@attbi_ s02>:
I can't believe MS did not make it
easier to cut and paste code between forms. Especially for such a
nice DB program...


Well, I can't see that I can criticize MS for not making it easier,
given that the design principle of creating a single object and
re-using it in multiple contexts is so obviously superior in the
first place. That is, why should MS have made the conceptually
wrong way to do things easier?

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 12 '05 #6
MX1
David,

I agree with your comments. This concept sunk in while I was thinking about
it off-line. Thanks for your feedback...

:)

"David W. Fenton" <dX********@bwa y.net.invalid> wrote in message
news:94******** *************** ****@24.168.128 .78...
j@jdp.coj (JBrow) wrote in <3sHnb.54285$e0 1.150054@attbi_ s02>:
I can't believe MS did not make it
easier to cut and paste code between forms. Especially for such a
nice DB program...


Well, I can't see that I can criticize MS for not making it easier,
given that the design principle of creating a single object and
re-using it in multiple contexts is so obviously superior in the
first place. That is, why should MS have made the conceptually
wrong way to do things easier?

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc

Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6424
by: Craig Bailey | last post by:
Anyone recommend a good script editor for Mac OS X? Just finished a 4-day PHP class in front of a Windows machine, and liked the editor we used. Don't recall the name, but it gave line numbers as well as some color coding, etc. Having trouble finding the same in an editor that'll run on OS X. -- Floydian Slip(tm) - "Broadcasting from the dark side of the moon"
1
4096
by: Chris | last post by:
Sorry to post so much code all at once but I'm banging my head against the wall trying to get this to work! Does anyone have any idea where I'm going wrong? Thanks in advance and sorry again for adding so much code... <TABLE border="1" bordercolor="#000000" cellspacing="0"> <TR>
11
4003
by: James | last post by:
My form and results are on one page. If I use : if ($Company) { $query = "Select Company, Contact From tblworking Where ID = $Company Order By Company ASC"; }
4
18527
by: Alan Walkington | last post by:
Folks: How can I get an /exec'ed/ process to run in the background on an XP box? I have a monitor-like process which I am starting as 'exec("something.exe");' and, of course the exec function blocks until something.exe terminates. Just what I /don't/ want. (Wouldn't an & be nice here! Sigh) I need something.exe to disconnect and run in the background while I
1
3699
by: John Ryan | last post by:
What PHP code would I use to check if submitted sites to my directory actually exist?? I want to use something that can return the server code to me, ie HTTP 300 OK, or whatever. Can I do this with sockets??
8
4415
by: Beowulf | last post by:
Hi Guru's, I have a query regarding using PHP to maintain a user profiles list. I want to be able to have a form where users can fill in their profile info (Name, hobbies etc) and attach an image, which will upload the record to a mySql db so users can then either view all profiles or query.. I.e. show all males in UK, all femails over 35 etc. Now, I'm not asking for How to do this but more what would be the best way? I've looked at...
1
3823
by: Clarice Almeida Hughes | last post by:
tenho um index onde tenho o link pro arq css, como sao visualizados pelo include todas as paginas aderem ao css linkado no index. so q eu preciso de alguns links com outras cores no css, o q devo fazer?
2
5302
by: JW | last post by:
I wanted have this as part of a flood control script: <? echo ("Flood control in place - please wait " . $floodinterval . " seconds between postings."); sleep(5); // go back two pages echo "<script>window.history.go(-2);</script>"; exit; ?>
2
3340
by: Frans Schmidt | last post by:
I want to make a new database with several tables, so I did the following: <?php CREATE DATABASE bedrijf; CREATE TABLE werknemers (voornaam varchar(15), achternaam varchar(20), leeftijd tinyint(3), adres varchar(30), woonplaats varchar(20),
2
51390
by: sky2070 | last post by:
Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ')' in c:\inetpub\wwwroot\session.php on line 19 can anyone tell me what is wrong with this code??? <? // Define the Session class class Session { // Define the properties:
0
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9027
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8895
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7725
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3046
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2329
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.