Expression Builder Adds Brackets to Search Term

Shiseiji

Board Regular
Joined
Oct 23, 2009
Messages
214
Office Version
  1. 2019
Platform
  1. Windows
I enter this:
Not Sponsored: IIf([Privileged_Users]![Employee_ID]<>[Probaris]![ID],”Not_Sponsored”,[Probaris]![status])

And the Expression builder changes it to this:
Not Sponsored: IIf([Privileged_Users]![Employee_ID]<>[Probaris]![ID],[”Not_Sponsored”],[Probaris]![status])

Hope it's something simple. I'm not a vb programmer, just a clumsy query builder where an export to Excel is usually far less painful then trying to build an Access report :biggrin:. . .

TIA

Ron
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
It thinks you are entering a field name.
Access can be very particular about the quote marks you use.
It usually wants the one that are straight up and down, like this: "
instead of slanted ones you are showing, like this:
 
Upvote 0
Thanks! Looks like notepad is my friend. I did a quick check of an ascii table and it wasn't any help, I don't see any different codes for straight and curved. And a double ' ' turns into the curved quotes. At least on the machine I use.

Appreciate the help.

Ron
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top