PC Review


Reply
Thread Tools Rate Thread

Automating field population on a form

 
 
=?Utf-8?B?QXNuZWxs?=
Guest
Posts: n/a
 
      7th Nov 2007
I have a form with a subform inserted, and would like to add a button that
the user would push, and it would automatically fill in some of the fields in
the subform from the main form.

Main form has company name, address, city, state, zip. The subform has
people associated with that company, and I want the user to be able to click
on a button if the person's direct mailing address is the same as the main
company address, city, state, etc. I am pretty sure that I need to create a
macro, but I haven't been able to find a good step by step guide on how to do
it.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGFsZSBGeWU=?=
Guest
Posts: n/a
 
      7th Nov 2007
I wouldn't create fields for the company address fields in the Employees
table. I would probably just add a yes/no field (UseCompanyAddress) and a
checkbox (chk_UseCompanyAddress). Then, if the company address changes, you
don't have to update all of the individual records.

HTH
Dale
--
Don''t forget to rate the post if it was helpful!

Email address is not valid.
Please reply to newsgroup only.


"Asnell" wrote:

> I have a form with a subform inserted, and would like to add a button that
> the user would push, and it would automatically fill in some of the fields in
> the subform from the main form.
>
> Main form has company name, address, city, state, zip. The subform has
> people associated with that company, and I want the user to be able to click
> on a button if the person's direct mailing address is the same as the main
> company address, city, state, etc. I am pretty sure that I need to create a
> macro, but I haven't been able to find a good step by step guide on how to do
> it.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating TO field population geekykamikaze Microsoft Outlook VBA Programming 1 13th Aug 2005 01:34 PM
Form Field Auto Population =?Utf-8?B?Sm9l?= Microsoft Access 1 14th Feb 2005 06:43 PM
Automated form field population =?Utf-8?B?TG91IEdyZXVsaW5n?= Microsoft Word Document Management 2 2nd Feb 2005 11:35 PM
Automating field population =?Utf-8?B?QmlsbEBPblNpdGVGQVNU?= Microsoft Access Database Table Design 0 11th Mar 2004 11:36 AM
form field population Hilary Ratner Microsoft Word Document Management 5 4th Feb 2004 04:57 PM


Features
 

Advertising
 

Newsgroups
 


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