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  

automatic fill in



 
 
Thread Tools Display Modes
  #1  
Old August 4th, 2004, 07:27 PM
Dave B
external usenet poster
 
Posts: n/a
Default automatic fill in

We have a form with two subforms, and in the subforms we
have the same field called "box name."

If we enter information on the first subform we want the
same information to go into the second subform.

Thanks!
  #2  
Old August 4th, 2004, 08:37 PM
tina
external usenet poster
 
Posts: n/a
Default automatic fill in

put the code in the first subform, in BoxName's AfterUpdate event, as

Me.Parent!SecondSubformCONTROLName!BoxName = Me!BoxName

make sure you use the subform CONTROL name, rather than the name of the
subform. to get the right name, open the main form in design view. click
once on the 2nd subform *in the main form*, to select it. in the Properties
box, click the Other tab, and look at the Name property.

hth


"Dave B" wrote in message
...
We have a form with two subforms, and in the subforms we
have the same field called "box name."

If we enter information on the first subform we want the
same information to go into the second subform.

Thanks!



 




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
Auto fill criteria/questions on filling formulas down JAnderson General Discussion 2 July 19th, 2004 09:45 PM
Vlookup value from fill colour only. shital Worksheet Functions 1 June 7th, 2004 02:34 PM
Object defaults (e.g., default fill color) Jeff Powerpoint 2 June 5th, 2004 03:56 AM
FILL A RANGE OF NUMBERS Max Worksheet Functions 1 November 7th, 2003 11:39 PM


All times are GMT +1. The time now is 08:59 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.