Can any one advise how to write the following inter-related case statements in a single function.
1. IIf([actiondirectors] Is Null,[action],[actiondirectors]) AS Actiontogether, IIf([actiontogether]="accepted Report",[action],[actiontogether]) AS Actionoverall, IIf([actionoverall] Is Null,[actiontogether],[actionoverall]) AS actionsummary,
2. IIf([directors meeting day] Is Null,[meeting day],[directors meeting day]) AS Combineddate,
Year([combineddate]) AS [Year], Month([combineddate]) AS [Month], Format([combineddate],"mmmm" & " " & "yy") AS Alphamonth,
Thanks in advance for your help.
Dwight
1. IIf([actiondirectors] Is Null,[action],[actiondirectors]) AS Actiontogether, IIf([actiontogether]="accepted Report",[action],[actiontogether]) AS Actionoverall, IIf([actionoverall] Is Null,[actiontogether],[actionoverall]) AS actionsummary,
2. IIf([directors meeting day] Is Null,[meeting day],[directors meeting day]) AS Combineddate,
Year([combineddate]) AS [Year], Month([combineddate]) AS [Month], Format([combineddate],"mmmm" & " " & "yy") AS Alphamonth,
Thanks in advance for your help.
Dwight