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  

subform new records



 
 
Thread Tools Display Modes
  #11  
Old October 1st, 2007, 03:34 AM posted to microsoft.public.access.forms
Chuck
external usenet poster
 
Posts: 372
Default subform new records

the subform control was referencing tblClients.ClientNum, i changed it to
ClientNum and its working now. thanks a bunch!


"ruralguy via AccessMonster.com" wrote:

In order for Access to assist in filling in the FK in the SubForm, the two
fields need to be the same type and specified in the LinkChild/MasterFields
properties of the SubForm Control.

Chuck wrote:
bingo! thanks - however i had to add the FK manually to the subform (i'm
using a custom Text based PK/FK). I would like this automated as i have a
text box on the same tab with the PK showing. Suggests?

I'm sorry Chuck but I thought you had a RecordSource for the SubForm. The
RecordSource of the SubForm should be a query of the table you wish to

[quoted text clipped - 13 lines]
record. I have Parent/Child properties of the query coded with [ClienNum].
What have i missed.


--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200710/1


  #12  
Old October 1st, 2007, 02:18 PM posted to microsoft.public.access.forms
ruralguy via AccessMonster.com
external usenet poster
 
Posts: 1,172
Default subform new records

Great Chuck. Glad you got it working.

Chuck wrote:
the subform control was referencing tblClients.ClientNum, i changed it to
ClientNum and its working now. thanks a bunch!

In order for Access to assist in filling in the FK in the SubForm, the two
fields need to be the same type and specified in the LinkChild/MasterFields

[quoted text clipped - 9 lines]
record. I have Parent/Child properties of the query coded with [ClienNum].
What have i missed.


--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200710/1

 




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 06:51 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.