Access 2013 Query

Mac1206

Board Regular
Joined
Jun 3, 2016
Messages
184
How do I bring back all values for Fld_Demand in Table_A but if the value = "WR Other" bring that back As Misc.


FLD_Demand
CHQ
HC
MC
WR Other
SubHC
Plate

<colgroup><col></colgroup><tbody>
</tbody>

RESULT of Query

<colgroup><col></colgroup><tbody>
</tbody>

<tbody>
</tbody>
Should Be:
FLD_Demand
CHQ
HC
MC
Misc
SubHC
Plate

<colgroup><col></colgroup><tbody>
</tbody>




<tbody>
</tbody>
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Use a calculated field instead in your query to return this field instead, i.e.
Code:
New_FLD_Demand: IIF([FLD_Demand]="WR Other","Misc",[FLD_Demand])
 
Upvote 0
Use a calculated field instead in your query to return this field instead, i.e.
Code:
New_FLD_Demand: IIF([FLD_Demand]="WR Other","Misc",[FLD_Demand])
Thanks Joe and have a wonderful filled weekend...
 
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,351
Members
451,697
Latest member
pedroDH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top