PC Review


Reply
Thread Tools Rate Thread

combining two queries

 
 
tom
Guest
Posts: n/a
 
      30th Oct 2007
I have a query that finds the running sum of Inventory
using the dsum function. I have another query that
finds the running sum of Accounts Receivable again
using the same method.

I have a list box on a form showing the data based on
the inventory running sum query. I would like this
list box to have the AR data in it also.

Is this possible?


 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGFsZSBGeWU=?=
Guest
Posts: n/a
 
      30th Oct 2007
Tom,

I'm assuming that what you mean by a running Inventory and running Accounts
Recievable is that these queries have a date field, and sum some other field
(or combination of fields) for all values before that date, for a particular
product. Is that a valid assessment?

Can you give us the field name in your queries and a couple of sample
records from each. If my assumption above is correct, then the critical
question is "are you certain that you have an entry in each table for each
date in the range you want to display?"

Dale
--
Don''t forget to rate the post if it was helpful!

Email address is not valid.
Please reply to newsgroup only.


"tom" wrote:

> I have a query that finds the running sum of Inventory
> using the dsum function. I have another query that
> finds the running sum of Accounts Receivable again
> using the same method.
>
> I have a list box on a form showing the data based on
> the inventory running sum query. I would like this
> list box to have the AR data in it also.
>
> Is this possible?
>
>
>

 
Reply With Quote
 
tom
Guest
Posts: n/a
 
      30th Oct 2007
This is the query I am basing the list box on. I want
to combine this with an exactly similar one for
Accounts Receivable.

SELECT InventoryBalance.Date, DatePart("y",[Date]) AS DayOfYear,
DSum("InventoryBalance","InventoryBalance","DatePart('y', [Date])<=" &
[DayOfYear] & "") AS RgBlceInventory
FROM InventoryBalance;


"Dale Fye" <(E-Mail Removed)> wrote in message
news:A38BC703-EB81-4A03-A7A9-(E-Mail Removed)...
> Tom,
>
> I'm assuming that what you mean by a running Inventory and running
> Accounts
> Recievable is that these queries have a date field, and sum some other
> field
> (or combination of fields) for all values before that date, for a
> particular
> product. Is that a valid assessment?
>
> Can you give us the field name in your queries and a couple of sample
> records from each. If my assumption above is correct, then the critical
> question is "are you certain that you have an entry in each table for each
> date in the range you want to display?"
>
> Dale
> --
> Don''t forget to rate the post if it was helpful!
>
> Email address is not valid.
> Please reply to newsgroup only.
>
>
> "tom" wrote:
>
>> I have a query that finds the running sum of Inventory
>> using the dsum function. I have another query that
>> finds the running sum of Accounts Receivable again
>> using the same method.
>>
>> I have a list box on a form showing the data based on
>> the inventory running sum query. I would like this
>> list box to have the AR data in it also.
>>
>> Is this possible?
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining Queries =?Utf-8?B?Q2hlZXNl?= Microsoft Access 4 17th Sep 2007 08:15 AM
combining queries =?Utf-8?B?d2VzIGs=?= Microsoft Access 1 12th Jun 2007 09:56 PM
Help Combining Two Queries... Sean Massey Microsoft Access Queries 5 20th Dec 2006 05:26 PM
Combining 2 Queries DS Microsoft Access Form Coding 2 20th Jul 2006 03:27 PM
Combining Queries =?Utf-8?B?RnJhbmtN?= Microsoft Access Queries 3 20th Apr 2005 07:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:42 PM.