Connecting Tech Pros Worldwide Help | Site Map

Duplicate Query Expression Question

  #1  
Old November 12th, 2005, 09:26 PM
JimFor
Guest
 
Posts: n/a
Hi,

Is there any way in Access 2002 to copy a query expression from a query which
was already set up to one which is being made? This would avoid having to
enter a long equation more than once. For example, suppose you have a query
which calculates the total price of an order by multiplying the unit price of
an item times the number of items bought and also subtracting any discount. You
call that query "Order Subtotals." The Order Subtotals query consists of a
column showing an order number and a column showing the order dollar amount.
How can you write another query using the equation which calculated the order
dollar amount without retyping the entire equation used to calculate the order
dollar amount? Tried cut and paste and using the "Build" function and have
not had any luck.

Thanks
  #2  
Old November 12th, 2005, 09:26 PM
Robert
Guest
 
Posts: n/a

re: Duplicate Query Expression Question



"JimFor" <jimfor@aol.comNOSPAM> wrote in message
news:20040307155350.29604.00001027@mb-m21.aol.com...[color=blue]
> Hi,
>
> Is there any way in Access 2002 to copy a query expression from a query[/color]
which[color=blue]
> was already set up to one which is being made? This would avoid having to
> enter a long equation more than once. For example, suppose you have a[/color]
query[color=blue]
> which calculates the total price of an order by multiplying the unit[/color]
price of[color=blue]
> an item times the number of items bought and also subtracting any[/color]
discount. You[color=blue]
> call that query "Order Subtotals." The Order Subtotals query consists of[/color]
a[color=blue]
> column showing an order number and a column showing the order dollar[/color]
amount.[color=blue]
> How can you write another query using the equation which calculated the[/color]
order[color=blue]
> dollar amount without retyping the entire equation used to calculate the[/color]
order[color=blue]
> dollar amount? Tried cut and paste and using the "Build" function and[/color]
have[color=blue]
> not had any luck.
>
> Thanks[/color]

Use cut and paste. But do it in SQL view. That's in the View menu.

Robert Crouser


  #3  
Old November 12th, 2005, 09:26 PM
JimFor
Guest
 
Posts: n/a

re: Duplicate Query Expression Question


Thanks!
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL query - duplicate records - different dates - how to get only latest information? clare at snyder.on.ca answers 24 March 25th, 2006 12:55 AM
median query without using function uspensky@gmail.com answers 4 February 27th, 2006 12:15 AM
Comparing certain fields within a duplicate records query Jason answers 2 November 12th, 2005 11:10 PM
Comparing certain fields within a duplicate records query Jason answers 2 November 12th, 2005 10:45 PM