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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Automatically copying one value from one form to another form.



 
 
Thread Tools Display Modes
  #1  
Old April 4th, 2005, 11:53 AM
Cookie
external usenet poster
 
Posts: n/a
Default Automatically copying one value from one form to another form.

Database Background: When processing a record you have to enter information
into three seperate forms.

I would like to create an automatic action, so that when you open the next
form the same "Ref Number" from the previous form is entered into the new
form and recorded in the table. I've tried the Look up Wizard but that only
gives me a list and it is not shown on the new form.

Any one know the solution
  #2  
Old April 4th, 2005, 01:32 PM
Jeff Boyce
external usenet poster
 
Posts: n/a
Default

Cookie

Why? As in "why does the same information need to be entered in three
separate forms?" And since forms generally reflect underlying data in
tables, are you saying the same data is being entered in three different
tables? If so, ?!why?!

--
More info, please ...

Jeff Boyce
Access MVP

"Cookie" wrote in message
...
Database Background: When processing a record you have to enter

information
into three seperate forms.

I would like to create an automatic action, so that when you open the next
form the same "Ref Number" from the previous form is entered into the new
form and recorded in the table. I've tried the Look up Wizard but that

only
gives me a list and it is not shown on the new form.

Any one know the solution


  #3  
Old April 4th, 2005, 02:11 PM
Cookie
external usenet poster
 
Posts: n/a
Default

The reason why the same information is being entered into the three seperate
forms is because the "Ref Number" is the primary key of the table and when
exporting the data from Access to Excel this will be used to identify the
data. The reason why there are three separate tables is beacause Access
limits the amount of fields (255) per table.

Another reason why i want the ref number to be automatically repeated on
each of the three forms is so that who ever is inputting the data won't have
to key in the ref number repeatedly to reduce the likely hood of error.

Thanks

"Jeff Boyce" wrote:

Cookie

Why? As in "why does the same information need to be entered in three
separate forms?" And since forms generally reflect underlying data in
tables, are you saying the same data is being entered in three different
tables? If so, ?!why?!

--
More info, please ...

Jeff Boyce
Access MVP

"Cookie" wrote in message
...
Database Background: When processing a record you have to enter

information
into three seperate forms.

I would like to create an automatic action, so that when you open the next
form the same "Ref Number" from the previous form is entered into the new
form and recorded in the table. I've tried the Look up Wizard but that

only
gives me a list and it is not shown on the new form.

Any one know the solution



  #4  
Old April 4th, 2005, 05:43 PM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Mon, 4 Apr 2005 06:11:03 -0700, Cookie
wrote:

The reason why the same information is being entered into the three seperate
forms is because the "Ref Number" is the primary key of the table and when
exporting the data from Access to Excel this will be used to identify the
data. The reason why there are three separate tables is beacause Access
limits the amount of fields (255) per table.


I've needed as many as 60 fields in a table... once, in the past 20
years of database development. 255 fields is absurdly large; 750
fields is simply *not a database*. You would do MUCH MUCH better to
properly normalize your data, and extract the one-to-many
relationships embedded within each record in this monster into
separate tables!

You can recast the data into "wide-flat" format for export to Excel,
but there is NO reason I can imagine why you should store the data in
this way. "Fields are expensive, records are cheap"!

Another reason why i want the ref number to be automatically repeated on
each of the three forms is so that who ever is inputting the data won't have
to key in the ref number repeatedly to reduce the likely hood of error.


If you *really* insist on working with this incorrect data structure,
you can use a Form for the first table, with two Subforms for the
second and third. Use the Ref Number as the master/child link field.

John W. Vinson[MVP]
 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to clear controls of Filter form Jan Il Using Forms 2 November 28th, 2004 02:04 PM
open a form through a subform in access 2000 Tammy Setting Up & Running Reports 12 October 22nd, 2004 02:43 PM
dlookup miaplacidus Using Forms 9 August 5th, 2004 09:16 PM
synchronizing form and list box Deb Smith Using Forms 8 June 21st, 2004 08:15 PM
Recordset in subform based on field in parent form Lyn General Discussion 15 June 14th, 2004 03:10 PM


All times are GMT +1. The time now is 06:41 AM.


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