A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Auto-completing fields



 
 
Thread Tools Display Modes
  #1  
Old November 14th, 2006, 10:08 PM posted to microsoft.public.access.forms
Rush
external usenet poster
 
Posts: 10
Default Auto-completing fields

I am wondering if the following is possible...
I have a tabbed form with 2 tabs. After I enter some information on the
first tabbed page, and I click on the second tab, I want some of the
information to automatically appear in some of the fields on the second page
that correspond to fields on the first tabbed page. The fields have
different names, or else I'd just put them outside of the tabs and let them
remain the same while I changed pages.
Can anyone help me?
Thank you!
  #2  
Old November 14th, 2006, 10:43 PM posted to microsoft.public.access.forms
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Auto-completing fields

Why? As in "why do you have the same data called two different names?" One
of the advantages of a well-normalized relational database is that you only
need to store a particular fact once.

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Rush" wrote in message
...
I am wondering if the following is possible...
I have a tabbed form with 2 tabs. After I enter some information on the
first tabbed page, and I click on the second tab, I want some of the
information to automatically appear in some of the fields on the second
page
that correspond to fields on the first tabbed page. The fields have
different names, or else I'd just put them outside of the tabs and let
them
remain the same while I changed pages.
Can anyone help me?
Thank you!



  #3  
Old November 15th, 2006, 03:08 PM posted to microsoft.public.access.forms
Rush
external usenet poster
 
Posts: 10
Default Auto-completing fields

Hey, that wasn't the question. I was asking if it could be done. I didn't
design the database, and can't change it now due to where the data is coming
from. So, can it be done?

"Jeff Boyce" wrote:

Why? As in "why do you have the same data called two different names?" One
of the advantages of a well-normalized relational database is that you only
need to store a particular fact once.

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Rush" wrote in message
...
I am wondering if the following is possible...
I have a tabbed form with 2 tabs. After I enter some information on the
first tabbed page, and I click on the second tab, I want some of the
information to automatically appear in some of the fields on the second
page
that correspond to fields on the first tabbed page. The fields have
different names, or else I'd just put them outside of the tabs and let
them
remain the same while I changed pages.
Can anyone help me?
Thank you!




  #4  
Old November 15th, 2006, 03:45 PM posted to microsoft.public.access.forms
missinglinq via AccessMonster.com
external usenet poster
 
Posts: 545
Default Auto-completing fields

Jeff's point is valid, but sure it can be done! The real secret is that the
tabbed pages are really just one form. Use this code, replacing the text box
names with your own names.

Private Sub Tab1TextBox_BeforeUpdate(Cancel As Integer)
Me.Tab2TextBox.Value = Me.Tab1TextBox.Value
End Sub


Rush wrote:
Hey, that wasn't the question. I was asking if it could be done. I didn't
design the database, and can't change it now due to where the data is coming
from. So, can it be done?

Why? As in "why do you have the same data called two different names?" One
of the advantages of a well-normalized relational database is that you only

[quoted text clipped - 16 lines]
Can anyone help me?
Thank you!


--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via http://www.accessmonster.com

  #5  
Old November 15th, 2006, 04:31 PM posted to microsoft.public.access.forms
Rush
external usenet poster
 
Posts: 10
Default Auto-completing fields

Thank you for your help. That worked perfectly.

"missinglinq via AccessMonster.com" wrote:

Jeff's point is valid, but sure it can be done! The real secret is that the
tabbed pages are really just one form. Use this code, replacing the text box
names with your own names.

Private Sub Tab1TextBox_BeforeUpdate(Cancel As Integer)
Me.Tab2TextBox.Value = Me.Tab1TextBox.Value
End Sub


Rush wrote:
Hey, that wasn't the question. I was asking if it could be done. I didn't
design the database, and can't change it now due to where the data is coming
from. So, can it be done?

Why? As in "why do you have the same data called two different names?" One
of the advantages of a well-normalized relational database is that you only

[quoted text clipped - 16 lines]
Can anyone help me?
Thank you!


--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via http://www.accessmonster.com


  #6  
Old November 16th, 2006, 04:08 PM posted to microsoft.public.access.forms
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Auto-completing fields

Rush

As missinglinq points out, you certainly can. I would have been remiss if I
hadn't asked the purpose ... after all, I can drive nails with my chainsaw
.... but it isn't a very good idea!

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Rush" wrote in message
...
Hey, that wasn't the question. I was asking if it could be done. I
didn't
design the database, and can't change it now due to where the data is
coming
from. So, can it be done?

"Jeff Boyce" wrote:

Why? As in "why do you have the same data called two different names?"
One
of the advantages of a well-normalized relational database is that you
only
need to store a particular fact once.

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Rush" wrote in message
...
I am wondering if the following is possible...
I have a tabbed form with 2 tabs. After I enter some information on
the
first tabbed page, and I click on the second tab, I want some of the
information to automatically appear in some of the fields on the second
page
that correspond to fields on the first tabbed page. The fields have
different names, or else I'd just put them outside of the tabs and let
them
remain the same while I changed pages.
Can anyone help me?
Thank you!






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.