473,396 Members | 2,033 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,396 software developers and data experts.

need help in this query

I have 2 queries one is called totalDues(derived from table
AccontRecieveable) and other is totalPaymentsmade(derived from
tblPaymentsMade).
totalDues have (CustomerID, TotalDues) and totalPaymentsMade has
(CustomerID, TotalPaid). I want to combine these 2 so I could see how
much is still due or nothing.

I was combining them in this way
(customerID,[totalPaymentsMade]![TotalDues],[totalPaymentsMade]![TotalPaid],
stillDues:[totalPaymentsMade]![TotalDues]-[totalPaymentsMade]![TotalPaid])

this is when you see query in design view.

when I run this it asks me for perameters totalPaymentsMade and
TotalDues. can any one help how i can get the "stillDues"

Nov 13 '05 #1
1 1006
I may not understand all the details of what you are attempting to do,
however, from your post you state the TotalDues field is in the totalDues
query. Therefore, from your description, it would appear that you make this
change. For example:

(customerID,[totalDues]![TotalDues],[totalPaymentsMade]![TotalPaid],
stillDues:[totalDues]![TotalDues]-[totalPaymentsMade]![TotalPaid])

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"khan" <ah******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I have 2 queries one is called totalDues(derived from table
AccontRecieveable) and other is totalPaymentsmade(derived from
tblPaymentsMade).
totalDues have (CustomerID, TotalDues) and totalPaymentsMade has
(CustomerID, TotalPaid). I want to combine these 2 so I could see how
much is still due or nothing.

I was combining them in this way
(customerID,[totalPaymentsMade]![TotalDues],[totalPaymentsMade]![TotalPaid],
stillDues:[totalPaymentsMade]![TotalDues]-[totalPaymentsMade]![TotalPaid])

this is when you see query in design view.

when I run this it asks me for perameters totalPaymentsMade and
TotalDues. can any one help how i can get the "stillDues"
Nov 13 '05 #2

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

Similar topics

1
by: Rama S | last post by:
Hi, We need a query which retrieves option_code, for a plan from OPTION table which are unique in (market, "ALL"). I have an example below PLAN MARKET OPTION_CODE RATE...
0
by: PenBlast | last post by:
I need a SQL query that will return row1 and 2. The rule would be "2 (and only 2) occurences of Store_Number where Forms_Count is not the same. Store_Number Forms_count 3 5 3 ...
1
by: bmoos1 | last post by:
I need to make a Report of all people starting in 2004 by "Date Requested". Dates are entered as mm/dd/yyyy. I have a query that has all the people that started in 2004, but there are numerous...
1
by: write2ashokkumar | last post by:
hi.. i have query like this.. select id,name from tbl where id in(5,2,4,1,3); When i execute the above query.. i get the result set with ascending order by id by default....
2
by: jennk | last post by:
i am working in Access 97, our database tables are linked from ODBCsqlsvr (not even sure what that means). i have a table where each record has a unique customer and their order information. there...
2
by: Terry Olsen | last post by:
I have two tables each with one column of serial numbers. I need a query that will return only the serial numbers from Table1 that aren't in Table2. I need it to also return the serial numbers from...
1
by: write2ashokkumar | last post by:
hi... i have the table like this, Table Name : sample Total Records : 500000 (Consider like this) Sample Records: id ------------ name
1
by: write2ashokkumar | last post by:
hi... i have the table like this, Table Name : sample Total Records : 500000 (Consider like this) Sample Records: ----------------
1
by: write2ashokkumar | last post by:
hi... i have the table like this, Table Name : sample Total Records : 500000 (Consider like this) Sample Records: ----------------
1
by: karuppiah | last post by:
Hi All, i need query,how to select last 3 month ,last 3wek,last 3 days , this last 3 month and 3 week should be friday, using sysdate from dual table, there is no exsting table, pls any one help...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.