Subform not showing records (1 Viewer)

atrium

Registered User.
Local time
Today, 20:06
Joined
May 13, 2014
Messages
348
I have the parent and child relationship on the right fields for both files.
I can add a record into the subform - no problem. I check the source file to the subform and the new record is there and correct.
I can run the query datasheet view for the subform and manually enter the criteria and I get the right records, including the one just created.
So it points to the criteria field - that it's not carrying the right OrderNo value. The criteria is pointing to [Forms]![OrdersFrm]![OrderNoFld]
a field set up that has the OrderNo (name = OrderNoFld) of the Orders file bound to it on the parent form. I have set it to visible for the moment so I can see what's happening. It's showing the right value.

Record Source - ItemsOrderedOnlyQry
Record Set Type - Dynaset (Inconsistent Updates)
Fetch Defaults - Yes
Filter -
Filter on Load - Yes
Order By -
Order By On load - Yes
Wait for Post Processing - Yes
Date Entry - Yes
Allow Additions - Yes
Allow Deletions - No
Allow Edits - Yes
Allow Filters - Yes
Record Locks - No Locks

The format view has Default View - Continuous Forms
 

theDBguy

I’m here to help
Staff member
Local time
Today, 03:06
Joined
Oct 29, 2018
Messages
21,494
What did you put in the Linked Master/Child Fields?
 

atrium

Registered User.
Local time
Today, 20:06
Joined
May 13, 2014
Messages
348
WOW theDBguy - you were right onto it.


OrdersSubform

Data
SourceObject - OrdersSubform
Link Master Fields - OrderNo
Link Child Fields - OrderNo
Filter On Empty Master - Yes
Enabled - Yes
Locked - No
 

theDBguy

I’m here to help
Staff member
Local time
Today, 03:06
Joined
Oct 29, 2018
Messages
21,494
WOW theDBguy - you were right onto it.


OrdersSubform

Data
SourceObject - OrdersSubform
Link Master Fields - OrderNo
Link Child Fields - OrderNo
Filter On Empty Master - Yes
Enabled - Yes
Locked - No
Hope it fixed your problem. Good luck with your project.
 

Users who are viewing this thread

Top Bottom