Solved

Cannot enter value into blank field on 'one' side of outer join

Posted on 2007-03-23
1
675 Views
Last Modified: 2008-03-06
This may seem pretty easy but i'm bashing my head in right now. I'm cleaning up my database and it seemed to work in my previous version but I'm not able to add any data into my query. because of the statement "Cannot enter value into blank field on 'one' side of outer join" Can someone give me a quick fix and take a look at my sql query. I'm pretty sure its the way my tables are joined but I can't seem to figure out why it worked before. Thanks


SELECT PRODUCT_STOCKING_LOC_TIE.PRODUCT_BARCODE, PRODUCT_STOCKING_LOC_TIE.DESCRIPTION, PRODUCT_STOCKING_LOC_TIE.STOCKING_UOM AS UOM, PRODUCT_STOCKING_LOC_TIE.STOCKING_LOCATION_NAME AS LOCATION, tblMainDetail.QTY
FROM PRODUCT_MASTER RIGHT JOIN (PRODUCT_STOCKING_LOC_TIE LEFT JOIN tblMainDetail ON PRODUCT_STOCKING_LOC_TIE.ID = tblMainDetail.ID) ON PRODUCT_MASTER.PRODUCT_BARCODE = PRODUCT_STOCKING_LOC_TIE.PRODUCT_BARCODE
WHERE (((PRODUCT_STOCKING_LOC_TIE.STOCKING_LOCATION_NAME)=[Forms]![frmMain]![STOCKING_LOCATION]));
0
Comment
Question by:goingolfn99
1 Comment
 
LVL 9

Accepted Solution

by:
tonydemarco earned 500 total points
ID: 18783656

If the "many" side join field doesn't appear in the datasheet
Add the join field from the "many" side to your query to allow adding new records.

HTH
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now