Talk About Network

Google





Software > Access Forms > Re: Auto-popula...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 46510 of 46786
Post > Topic >>

Re: Auto-populating duplicate info in the same record.

by "Jeanette Cunningham" <nnn@[EMAIL PROTECTED] > Dec 4, 2008 at 11:15 AM

Hi John,
it is easy to do.
Me.CopyOfAddress = Me.Address, use it in the after update event of the
text 
box called Address.
It will put the value of a text box called Address into a text box called 
CopyOfAddress.

Change the obvious to suit the names of your text boxes.

If you are trying to store both copies of the address in the same table or

in 2 different tables, this is against the rules for designing databases 
(except for some situations).
This creates the problem that every time a user changes the original 
address, there needs to be code to change the address in the field which
is 
a copy of the address.
It can easily lead to inconsistent information - the address in one field
is 
different from the address in the other table for the same person.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

<John Dakin> wrote in message news:200812303113andersonssix@[EMAIL PROTECTED]
>I enter one time events in each record in a form view. Information in one

>field might need to be duplicated in another. For example a name or
address 
>may have to be repeated in the same record. How can I get a one time
entry 
>in one field to auto-populate into another field in the same record?
 




 2 Posts in Topic:
Auto-populating duplicate info in the same record.
John Dakin   2008-12-02 21:31:15 
Re: Auto-populating duplicate info in the same record.
"Jeanette Cunningham  2008-12-04 11:15:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 13:59:55 PST 2009.