Hello everybody,
I am trying to do an IIF statement in my user form in access I have a field [Job Status] and I have a [Termdate] field I want a "String of text" to pop up in my [Jobstatuts] field base off of what the [Termdate] field has.
Heres my IIF statement
	
	
	
		
Basically, If there is NO term date I want "ACTIVE" to pop up in my [Jobstatus] field and if there is a term date I want "Inactive" to populate in my [Jobstatus] field. If possible can have the text "Active" in GREEN and "Inactive" in red
I am not sure if I am putting the expression in the correct place. Also the user form is link to a back end table in access. I can not put the expression in the CONTROL SOURCE property since its link to the back end table.
 I am trying to do an IIF statement in my user form in access I have a field [Job Status] and I have a [Termdate] field I want a "String of text" to pop up in my [Jobstatuts] field base off of what the [Termdate] field has.
Heres my IIF statement
		Code:
	
	
	=IIf(([Term Date]=" " Or [Term Date] Is Null),"Active","Inactive")Basically, If there is NO term date I want "ACTIVE" to pop up in my [Jobstatus] field and if there is a term date I want "Inactive" to populate in my [Jobstatus] field. If possible can have the text "Active" in GREEN and "Inactive" in red
I am not sure if I am putting the expression in the correct place. Also the user form is link to a back end table in access. I can not put the expression in the CONTROL SOURCE property since its link to the back end table.
 
	 
 
		 
 
		 
 
		