- Local time
- Today, 03:52
- Joined
- Sep 28, 2010
- Messages
- 83
Code:
First Receipt : IIf(Min([dbo_ReportData].[Received Date])="",[Liveval].[Received Date],Min([dbo_ReportData].[Received Date]))
I'm guessing that IIF doesn't play that way? Well, I know it doesn't, I'm getting aggregate errors when attempting to run the query..
I need to pull a value from one table (dbo_reportdata), but if that value doesn't exist, or returns a null, then pull the equivalent value from liveval...
Any thoughts?