473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Broken Query?

Ach, I'm in a bind...i can't get one of my queries to work properly.
And i'm certain it's because I don't know how to write the expression
correctly...

I am creating a database that enters items into inventory, then takes
them out when I use them as ingredients in other items i will be
entering into inventory, or take them out when I send them off site. I
created one query for "Total Entered into Inventory", one query for
"total used as ingredients", and one query for "total sent off site".
Now I'm trying to create a query that will show "Total On Hand". The
problem is that every time I create an expression from these three
queries, i get an answer of ONLY the items that have been have data for
all three queries. i want the query to display EVERYTHING. Not just
items that have been entered, used AND sent off. How is this done?

ANY help would be greatly appreciated...

befrismf

Aug 30 '06 #1
2 1427
sh*************@gmail.com wrote:
Ach, I'm in a bind...i can't get one of my queries to work properly.
And i'm certain it's because I don't know how to write the expression
correctly...

I am creating a database that enters items into inventory, then takes
them out when I use them as ingredients in other items i will be
entering into inventory, or take them out when I send them off site. I
created one query for "Total Entered into Inventory", one query for
"total used as ingredients", and one query for "total sent off site".
Now I'm trying to create a query that will show "Total On Hand". The
problem is that every time I create an expression from these three
queries, i get an answer of ONLY the items that have been have data for
all three queries. i want the query to display EVERYTHING. Not just
items that have been entered, used AND sent off. How is this done?

ANY help would be greatly appreciated...

befrismf
Open up your query builder. You need to determine the Master table.
There should be relationship lines between all three queries. Dbl-click
on the lines. Select option 2; All records from "master" and all
records that match from "child". If there are no matches from the
child, the column value is Null...so if you are calcing you may need to
use NZ.
Aug 30 '06 #2
NOt to worry. This is not an easy thing to do. You might want to have
a look at Allen Browne's answer to this question.
http://www.allenbrowne.com/AppInventory.html

Aug 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Danny | last post by:
Anyone knows how to detect broken link using ASP? Just say the link is got from query string, ie: http://www.mydomain.com/check_validity_link.asp?www.otherdomain.com/1.htm TIA.
1
by: Dmitry Davletbaev | last post by:
Hi! I'm working on program that acts as MySQL client. After successful connection program send queries for a long time. When I stop server mysql_query return error (no surprise). But when I...
3
by: ezra epstein | last post by:
I'm been banging my head over this for a little while now. Here's a simple function to return a record: <code> CREATE OR REPLACE FUNCTION create_item_record_for_override(INTEGER, VARCHAR )...
2
by: dkintheuk | last post by:
Hi there, I've got some loverly code that is supposed to use some sql to run a query and output the results to a table for later manipulation. The problem that occurs is that as the code is...
6
by: Jason Collins | last post by:
There seems to be an inconsistency (bug?) in the way the Set-Cookie header is handled by the WebHeaderCollection. That is, the values of Set-Cookie, when an Expires is specified, contain the ","...
4
by: D. Shane Fowlkes | last post by:
I'm stumped! I know this isn't exactly a .NET question but I know someone here is bound to be able to help. I'm trying to write a query to extract a list of records from a many-to-many "key"...
4
by: tt40 | last post by:
Anyone know how to prevent Access 2002 from automatically breaking all the incorrect joins in a query and then automatically saving the broken query? This is what I would call stupid design...
25
by: Norman Diamond | last post by:
I think the current version of _vsnwprintf_s is broken, in ordinary Windows. I'm not completely sure yet but it looks like this breakage is worse than previously known Windows CE breakage of...
8
by: punk86 | last post by:
Hi, i been working on this codes but i keep getting broken links for the pictures. Im using apache. Need help for this please. I think its just the codes in my index.php is wrong and i do not know...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.