G
Guest
I have a query which returns 3 fields:
product codes
price in $
price in Euro
Every product has its price either in $ or Euro (but not in both)
How do I order the recordset by the product price expressed in ? ?
If I pass the $-to-? and Euro-to? rated as parameters.
But how do I specify the ORDER BY clause ?
I appreciate that one of the solutions might be to restructure the table and
instead of fields "Price_$" and "Price_Euro" to make one field "Price" and
the other "Currency", but this has some unwanted side effects
product codes
price in $
price in Euro
Every product has its price either in $ or Euro (but not in both)
How do I order the recordset by the product price expressed in ? ?
If I pass the $-to-? and Euro-to? rated as parameters.
But how do I specify the ORDER BY clause ?
I appreciate that one of the solutions might be to restructure the table and
instead of fields "Price_$" and "Price_Euro" to make one field "Price" and
the other "Currency", but this has some unwanted side effects