Senin, 30 Januari 2017

[MS_AccessPros] Comparing price values and writing out a description

 

Hi everyone

I have a challenge with creating the following price description function to use in a report, which I am having trouble getting my head around.

I have table which contains prices for an item, but the price could be different for each day of the week. This is for accommodation, where the price could differ based on the day of the week/, I have columns called PriceD1, PriceD2, PriceD3 etc until PriceD7 which hold the values.

Starting from PriceD1, I want to compare the price value to the following day, PriceD2 and so on until the price changes. I then want to write out the price so that it looks something like this:

Mon - Fri: 500.00;Sat:600;Sun:700

If the price for Sat and Sun were the same, I would want it to look like:
Mon - Fri: 500.00;Sat- Sun:600

and so on.

Is anyone able to point me in the right direction with this ?







__._,_.___

Posted by: Lance Gallant <istari.6@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar