K
Kris D
I am trying to create a query from a table to display a combo box. If the
first and last name are blank then display the center name, if the center
name is blank then display the first and last name. Here is what I have
displayed in three different fields:
First:
Field: File As: IIf(IsNull([Last Name]),IIf(IsNull([First Name]),[Center
Name],[First Name]),IIf(IsNull([First Name]),[Last Name],[Last Name] & ", " &
[First Name]))
Table: blank
Second:
Field: Provider Name: IIf(IsNull([Last Name]),IIf(IsNull([First
Name]),[Center Name],[First Name]),IIf(IsNull([First Name]),[Last
Name],[First Name] & " " & [Last Name]))
Table: Blank
Third:
Field: Child Care Providers.*
Table: Child Care Providers
When I go to the transactions table I created a combo box and the Auto ID
number displays instead of the first and last name or center name if first
and last name is blank. I am not sure if I have the file name wrong.
first and last name are blank then display the center name, if the center
name is blank then display the first and last name. Here is what I have
displayed in three different fields:
First:
Field: File As: IIf(IsNull([Last Name]),IIf(IsNull([First Name]),[Center
Name],[First Name]),IIf(IsNull([First Name]),[Last Name],[Last Name] & ", " &
[First Name]))
Table: blank
Second:
Field: Provider Name: IIf(IsNull([Last Name]),IIf(IsNull([First
Name]),[Center Name],[First Name]),IIf(IsNull([First Name]),[Last
Name],[First Name] & " " & [Last Name]))
Table: Blank
Third:
Field: Child Care Providers.*
Table: Child Care Providers
When I go to the transactions table I created a combo box and the Auto ID
number displays instead of the first and last name or center name if first
and last name is blank. I am not sure if I have the file name wrong.