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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Problem with sort

Status
Not open for further replies.

philcon

Technical User
Feb 5, 2002
139
GB
Using the query design tool, I have developed a query which contains a number of expressions as fields which are based on calculations using fields in the tables queried.

i.e. totcosts: = [rawmaterial]+[manufacture]

where another expression might be

rawmaterial : =[stock]+[delivery] (real fields from tables)

Everything works fine until I try and sort the results of the query by [totcost]

I then receive a dialogue asking for the vaule of [rawmaterial]

Can anyone advise why this problem occurs or possible ways around it?

Many thanks


Phil.
 
you could try to sort on the individaul components that make totcost --> stock + delivery + manufac1 + manufac2

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top