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  

**Form Update**



 
 
Thread Tools Display Modes
  #1  
Old October 25th, 2004, 11:47 AM
**KP**
external usenet poster
 
Posts: n/a
Default **Form Update**

Hi, I'm trying to set up a form and subform based on two tables with DEPTID
as primary key in both. I'm using an AUTONUMBER field in main table to
increment each time a new record is added.

Problem is when I populate the DEPTID field in the main form using a COMBO
BOx, the DEPTID field in the subform does not populate. Is there a way to
autopopulate the DEPTID field in the subform from the main form, or do I just
need to have it typed in?

Thanks in advance.

KP
  #2  
Old October 25th, 2004, 03:17 PM
Jackie L
external usenet poster
 
Posts: n/a
Default

Is your field DEPTID part of a Master/Child link between the subform and the
main form? If so, the DEPTID would automatically be populated in the subform
when a new record is added. If you do not have links between the subform and
main form, then use a default value for the DEPTID in the subform, pointing
to the same field in the main form.

"**KP**" wrote:

Hi, I'm trying to set up a form and subform based on two tables with DEPTID
as primary key in both. I'm using an AUTONUMBER field in main table to
increment each time a new record is added.

Problem is when I populate the DEPTID field in the main form using a COMBO
BOx, the DEPTID field in the subform does not populate. Is there a way to
autopopulate the DEPTID field in the subform from the main form, or do I just
need to have it typed in?

Thanks in advance.

KP

 




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 08:26 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.