|
|
Pop-Up Subform not linking to Main Form
I have a subform - frmLawEnforcement - that is accessed on the main form -
frmCorporateSecurity - by clicking on a command button from the main form.
The two forms are linked by the CaseIDNumber field.
If I place the subform as just an entry from with the main form, the
information shows as linking by the CaseIDNumber. When I enter the
information into the subform using the command button, the information does
not link to the case number.
I am not sure what I could be doing wrong. I am an intermediate Access user
but am fairly limited on VBA.
|
|
0
|
|
|
|
Reply
|
Utf
|
12/30/2009 8:19:01 PM |
|
ABradley,
It would help if we could see the code you using with the Command Button.
Sounds like you are missing the Link Criteria but without seeing the code I
would only be guessing.
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
"ABradley" <ABradley@discussions.microsoft.com> wrote in message
news:6113A7D6-C477-44E3-821A-7BFDFE456E1E@microsoft.com...
>I have a subform - frmLawEnforcement - that is accessed on the main
>orm -
> frmCorporateSecurity - by clicking on a command button from the main form.
> The two forms are linked by the CaseIDNumber field.
>
> If I place the subform as just an entry from with the main form, the
> information shows as linking by the CaseIDNumber. When I enter the
> information into the subform using the command button, the information
> does
> not link to the case number.
>
> I am not sure what I could be doing wrong. I am an intermediate Access
> user
> but am fairly limited on VBA.
|
|
0
|
|
|
|
Reply
|
Gina
|
12/30/2009 8:31:53 PM
|
|
ABradley wrote:
> I have a subform - frmLawEnforcement - that is accessed on the main form
> - frmCorporateSecurity - by clicking on a command button from the main
> form. The two forms are linked by the CaseIDNumber field.
>
> If I place the subform as just an entry from with the main form, the
> information shows as linking by the CaseIDNumber. When I enter the
> information into the subform using the command button, the information
> does not link to the case number.
>
> I am not sure what I could be doing wrong. I am an intermediate Access
> user but am fairly limited on VBA.
"subform" is a specific term used to describe a form that is embedded within
another using a subform control. If you are opening the second form as a
popup then it is not a subform and will therefore not behave as one.
All you are doing is opening a new independent form with a filter applied.
You are doing nothing to control how it behaves when you enter new records.
One can make a popup form behave pretty close to how a real embedded subform
does, but it takes extra work and setup than what the wizard provides.
Is there a good reason why you don't want to use an embedded subform? That
really is the best way to do it.
|
|
0
|
|
|
|
Reply
|
Rick
|
1/1/2010 4:51:48 PM
|
|
|
2 Replies
640 Views
(page loaded in 0.171 seconds)
Similiar Articles: Pop-Up Subform not linking to Main Form - microsoft.public.access ...I have a subform - frmLawEnforcement - that is accessed on the main form - frmCorporateSecurity - by clicking on a command button from the main fo... Subform linked to form - ID number to come into subform ...Pop-Up Subform not linking to Main Form - microsoft.public.access ... Subform linked to form - ID number to come into subform ... ... Synchronize subforms - microsoft ... Linking forms fields in Word - microsoft.public.word.docmanagement ...You can use more than one field in Master and Child linking fields. I have not ... Pop-Up Subform not linking to Main Form - microsoft.public.access ... Force a combo box to requery after a pop up form has closed ...Pop-Up Subform not linking to Main Form - microsoft.public.access ... Force a combo box to requery after a pop up form has closed ... I want to make a combo box requery ... Access Form/Subform Macro not working - microsoft.public.access ...... Action: Open Form ... pass the case number from the main form ... link the subform ... misc I have a pop-up form ... Subform requery not working from Main form - Microsoft ... Main Form/Subform/Command Button to Open Another Form - microsoft ...BennyDHill, When you are in design view of the main form, click on the perimeter of the subform. The Link Child Fields and the Link Master Fields contain the field ... inserting a new record from a pop-up, and returning to the main ...inserting a new record from a pop-up, and returning to the main form at that record. Follow link to a record on a form - subforms - microsoft.public.access ...Pop-Up Subform not linking to Main Form - microsoft.public.access ... So how can I pass the case number from the main form ... link the subform ... form's ... working ... Popup Form Launched from SubForm Button and New Record Sync ...A subform (continuous) has a button, repeated on each row, to pop up a filtered (synchronised) form. ... Main Form/Subform/Command Button to Open ... How to add a pop up calendar to date field in a subform ...Pop-Up Subform not linking to Main Form - microsoft.public.access ... How to add a pop up calendar to date field in a subform ..... on my main form ... the Call subform... Pop-Up Subform not linking to Main Form DataBaseI have a subform - frmLawEnforcement - that is accessed on the main form - frmCorporateSecurity - by clicking on a command button from the main form. Th Pop-Up Subform not linking to Main Form - microsoft.public.access ...I have a subform - frmLawEnforcement - that is accessed on the main form - frmCorporateSecurity - by clicking on a command button from the main fo... Popup Subform linked to MainForm - Access World ForumsPopup Subform linked to MainForm Forms ... I am trying to create a command button that allows a subform to pop up in my Main form (parent ... The Sub-Subform You've Always Wanted... form with a Trips subform, then a drill down to the next level of detail (the Receipt) with, perhaps, a pop-up for ... senior subform and is linked to the main Trip form ... MS Access: Link a subform to a form in Access 2003/XP/2000/97In Access 2003/XP/2000/97, how do I link a subform to a form? ... Question: In Access 2003/XP/2000/97, how do I link a subform to a form? Answer: To link a subform ... 7/27/2012 8:05:16 AM
|
|
|
|
|
|
|
|
|