jeremy0028
Technical User
I have a table and frm called Insurance which has the following
InsuranceID(Pk)Auto
Insurance Name
I have a table and form called ProviderIds
Provider(lookup Combo Box)
Code
SELECT Providers.ProviderID, Providers.[First Name] & " " & Providers.[Last Name] & " " & Providers.Mi FROM Providers;
Insurance(lookup) code
SELECT Insurance.InsuranceID, Insurance.[Insurance Name] FROM Insurance;Union Select '0', ' All' from Insurance
Pin#(Text)
Group#(Text)
As you can see i added an all to the insurance look up so when ever an insurance is added to the database it will automatically assign the pin#
When i generate the report and select Insurance Name from the insurance table then select provider from providerid & Pin # it only shows the insurances Selected
Example I select Provider A
I Select Insurance name Blue Cross
I Enter Pin#
Only shows when i enter a insurance all other insurances dont show up
Example I select Provider A
I Select All Insuranes from the combo Box
I Enter Pin#
When i use the all option insurance dosnt show up on the report only when i select an insurance it show up any ideas.
InsuranceID(Pk)Auto
Insurance Name
I have a table and form called ProviderIds
Provider(lookup Combo Box)
Code
SELECT Providers.ProviderID, Providers.[First Name] & " " & Providers.[Last Name] & " " & Providers.Mi FROM Providers;
Insurance(lookup) code
SELECT Insurance.InsuranceID, Insurance.[Insurance Name] FROM Insurance;Union Select '0', ' All' from Insurance
Pin#(Text)
Group#(Text)
As you can see i added an all to the insurance look up so when ever an insurance is added to the database it will automatically assign the pin#
When i generate the report and select Insurance Name from the insurance table then select provider from providerid & Pin # it only shows the insurances Selected
Example I select Provider A
I Select Insurance name Blue Cross
I Enter Pin#
Only shows when i enter a insurance all other insurances dont show up
Example I select Provider A
I Select All Insuranes from the combo Box
I Enter Pin#
When i use the all option insurance dosnt show up on the report only when i select an insurance it show up any ideas.