Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Calculated Fields in Queries

Status
Not open for further replies.

MikeKohler

Technical User
Jun 22, 2001
115
CA
I have a field which calculates the cost of parts, the price field * quantity field. I have this set up in a form and the data is stored in its table with no problem. However, when I run a query using this table, none of the numbers for the cost field show up, and when I go to the corresponding data, all the data for the cost field has been deleted. Does anybody know what is going on?
-Michael K.
 
Please go to the SQL view of the query and post the code here. It is difficult to *guess* what might have happened... Terry M. Hoey

Please read the following FAQ to learn how to help me help you...

faq183-874
 
Here is the SQL Code:
SELECT Parts.PartID AS Parts_PartID, Parts.PartName, Parts.PartDescription, Parts.NameId, Parts.Cost, partsub.ID, partsub.Quantity, partsub.TotalCost
FROM Parts INNER JOIN partsub ON Parts.PartID = partsub.PartID;
Thanks for looking at my problem,
Michael K.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top