Any help you can give me on writing this expression will greatly be appreciated.
tblClinic
Clinic
Address
BillingAddress
Phone
Fax
ClinicNPI
tblProvider
FirstName
LastName
SS
1Clinic
2Clinic
3Clinic
4Clinic
In my query I want to know what the ClinicNPI is if Clinic is the same as 1Clinic.
How do I write the expression?
I just tried
SELECT [ClinicNPI] FROM [tblClinic] WHERE [tblClinic]![Clinic] = [tblProvider]![1Clinic]
And it did not work!
The error reads: The syntax of the subquery in this expression is incorrect. Check the subquery's syntax and enclose the subquery in parentheses.
tblClinic
Clinic
Address
BillingAddress
Phone
Fax
ClinicNPI
tblProvider
FirstName
LastName
SS
1Clinic
2Clinic
3Clinic
4Clinic
In my query I want to know what the ClinicNPI is if Clinic is the same as 1Clinic.
How do I write the expression?
I just tried
SELECT [ClinicNPI] FROM [tblClinic] WHERE [tblClinic]![Clinic] = [tblProvider]![1Clinic]
And it did not work!
The error reads: The syntax of the subquery in this expression is incorrect. Check the subquery's syntax and enclose the subquery in parentheses.