473,725 Members | 2,276 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 3436
"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
6428
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
4101
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
4007
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
18531
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
3703
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
4416
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
3826
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
5310
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
3342
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
51392
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
8889
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9179
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
8099
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
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3228
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
2637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
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.