Fill text box with work based on record data (1 Viewer)

Number11

Member
Local time
Today, 21:55
Joined
Jan 29, 2020
Messages
607
So it it possible to have a field on a form that is updated based on what is found within the record source

Like say if field "job type" is Install put in results box "Installed and Complete" or if "job type" is "Refused" put in results box "Installed failed please rebook"
 

theDBguy

I’m here to help
Staff member
Local time
Today, 13:55
Joined
Oct 29, 2018
Messages
21,454
Sure. You can even do it in the source query.
 

Number11

Member
Local time
Today, 21:55
Joined
Jan 29, 2020
Messages
607
Ok thanks for your help, i have this in the query now and it works but how to i add the other option for if "Refused" put results as "Installed failed"please

Expr1: Replace([Job Type],"Installed","Installed and Complete ")
 

theDBguy

I’m here to help
Staff member
Local time
Today, 13:55
Joined
Oct 29, 2018
Messages
21,454
Ok thanks for your help, i have this in the query now and it works but how to i add the other option for if "Refused" put results as "Installed failed"please

Expr1: Replace([Job Type],"Installed","Installed and Complete ")
Hi. Maybe check out the Switch() function.
 

Users who are viewing this thread

Top Bottom