selenau837
Can still see y'all......
- Local time
- Today, 12:54
- Joined
- Aug 26, 2005
- Messages
- 2,211
Hi guys,
I have a mod called EntryAge. It requires two arguments. A start date and an End date.
I'm trying to use it in a Query, but I am running into problems because there are times when the Start date and the end date are both Blank.
I've tried this nested statement and it keeps telling me. Contains invalid syntax or I need to enclose it in quotes.
I've copy and pasted my code below. Can someone please help me figure out what is wrong with this silly thing.
What I am trying to say is if the received date is null make it 0 or use the date given, and if the complete date is null use 0 or use the complete date.
It then will perform the calculation that the Entry Date mod does.
If you want I can copy and past the Entry Date Mod. If that will help.
I have a mod called EntryAge. It requires two arguments. A start date and an End date.
I'm trying to use it in a Query, but I am running into problems because there are times when the Start date and the end date are both Blank.
I've tried this nested statement and it keeps telling me. Contains invalid syntax or I need to enclose it in quotes.
I've copy and pasted my code below. Can someone please help me figure out what is wrong with this silly thing.
Code:
intSecondaryTime: EntryAge(IIF(ISNull([dtmSecondaryReceived]),0,[dtmSecondaryReceived])),(IIF(ISNull([dtmSecondaryComplete]),0,[dtmSecondaryComplete])))
What I am trying to say is if the received date is null make it 0 or use the date given, and if the complete date is null use 0 or use the complete date.
It then will perform the calculation that the Entry Date mod does.
If you want I can copy and past the Entry Date Mod. If that will help.