J
JonWales via AccessMonster.com
Question: In Access 2003/XP/2000/97, I'm trying to build an expression that
will do the same as the following Excel formula with the result formatted as
=IF(TYPE(CODE(B11))=1,IF(F11=0,(E11-$B$6)/7,(E11-F11)/7)," ")
I've tried this but it's not working??
IIF(ISNULL([1_ID_REFERENCE),NULL,IIF([5_ACTUAL]=0,([4_PLAN]-Date())/7,(
[4_PLAN]-[5_ACTUAL])/7))
The Access split form field names are selection type text boxes
1_ID_Reference is a 'Text' datatype
5_ACTUAL is a 'date/time' datatype
4_PLAN is a 'Date/Time' datatype
How can I do this?
will do the same as the following Excel formula with the result formatted as
=IF(TYPE(CODE(B11))=1,IF(F11=0,(E11-$B$6)/7,(E11-F11)/7)," ")
I've tried this but it's not working??
IIF(ISNULL([1_ID_REFERENCE),NULL,IIF([5_ACTUAL]=0,([4_PLAN]-Date())/7,(
[4_PLAN]-[5_ACTUAL])/7))
The Access split form field names are selection type text boxes
1_ID_Reference is a 'Text' datatype
5_ACTUAL is a 'date/time' datatype
4_PLAN is a 'Date/Time' datatype
How can I do this?