Raed,<br><br>That did it. Where did you find that? I don't remember any instructions on having to use quotes around a CF name. Did I miss that or did you come by that info via trail & error?<br><br>Now, again, I owe you <b>MORE</b> beer. ;-).<br>
<br>Thanks.<br><br>Kenn<br>LBNL<br><br><div class="gmail_quote">On Fri, Oct 15, 2010 at 9:44 AM, Raed El-Hames <span dir="ltr"><<a href="mailto:Raed.El-Hames@vialtus.com">Raed.El-Hames@vialtus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-GB">

<div>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Ken:</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Can’t
see much wrong , the only thing I noticed CF.{DS-SubjectArea} should be ‘CF.{DS-SubjectArea}’</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Not
sure if it makes any difference</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">As
a first step, I would suggest as you  are directed to the Advanced page, add
the ‘ around the CF name and hit apply, then see what happens and if you can search,
if it works, then the next step is finding out why its not adding ‘ in the
first place.</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Regards;</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Roy</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0cm 0cm 0cm 4pt;">

<div>

<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>
[mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>] <b>On Behalf Of </b>Kenneth
Crocker<br>
<b>Sent:</b> 15 October 2010 17:15<div class="im"><br>
<b>To:</b> <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
</div><b>Subject:</b> Re: [rt-users] RT Query not allowing any Custom Field selection</span></p>

</div>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-bottom: 12pt;">Raed,<br>
<br>
Just keep it up guy, and I'm gonna end up owing you an entire brewery. ;-).<br>
<br>
This is what is in "Advance":<br>
<br>
( Queue = 'DS-BRS' OR Queue = 'DS-Development' ) AND CF.{DS-SubjectArea} =
'Expense'<br>
<br>
and it won't let me get out of it. If I hit "ShowResults", it just
shows ALL tickets in those two Queues, regardless of the CF value.<br>
<br>
The funny thing is, I checked the DB records and the values are there, the
OBJECTCUSTOMFIELDVALUES records are there (<b>not</b> disabled) for several
tickets, the Tickets <i>show the values</i> in Display, Privileges are correct
for the group I'm in (plus I'm a SuperUser), CF is applied to these Queues
(duh, wouldn't see them in Display otherwise), etc. All data in the DB seems
quite correct. RT is being VERY STUBBORN about this.<br>
<br>
Any ideas?<br>
<br>
Kenn<br>
LBNL</p>

<div>

<p class="MsoNormal">On Fri, Oct 15, 2010 at 2:25 AM, Raed El-Hames <<a href="mailto:Raed.El-Hames@vialtus.com" target="_blank">Raed.El-Hames@vialtus.com</a>>
wrote:</p>

<div>

<div>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Hi Ken:</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">It usually throw you into the Advanced tab when the sql
generated is not properly formatted into FromSQL ..</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Can you share what you get in the advanced Query ? it may
also be a problem in the displayed fields listed in Format.</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Regards;</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Roy</span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>

<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; padding: 0cm 0cm 0cm 4pt; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue;">

<div>

<div style="border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0cm 0cm; border-color: -moz-use-text-color;">

<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>
[mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>] <b>On Behalf Of </b>Kenneth
Crocker<br>
<b>Sent:</b> 15 October 2010 00:40<br>
<b>To:</b> <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
<b>Subject:</b> [rt-users] RT Query not allowing any Custom Field selection</span></p>

</div>

</div>

<div>

<div>

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-bottom: 12pt;">To
List,<br>
<br>
I'm getting a wierd result when trying to create a search looking for a certain
value in a Custom Field that is applied to a couple Queues.<br>
I check the Queues and add them, no problem. I check the Custom Field and add
it and I am immediately thrown into <b>"Advanced"</b>. Every change I
make after that cannot be applied. I just end up back in the <b>"Advanced"</b>
screen. It acts like there is no such Custom FIeld. I tried "Like"
and "is" and no joy.<br>
<br>
I've checked the Custom Field and it <b>IS</b> applied to those Queues.<br>
The Values <b>ARE</b> available for "Select One"<br>
I am a SuperUser so I <i>should</i> have rights to it, but I went ahead and
added "AdminCustomField", "ModifyCustomField" and
"SeeCustomField" to the group I'm in anyway. Still no joy.<br>
<br>
When I run an SQL in SQL Navigator against the OBJECTCUSTOMFIELDVALUES Table
with this code:<br>
<br>
select *<br>
from OBJECTCUSTOMFIELDVALUES<br>
where CustomField = 50111<br>
  and (Content = 'Ledger' or Content = 'Expense');<br>
<br>
I got 12 records. None are disabled.<br>
<br>
I'm in 3.8.7 and Queries <i>without </i>Custom Fields are working fine.<br>
<br>
Has anyone noticed this?<br>
<br>
Was it mentioned awhile back and I missed it?<br>
<br>
Thanks in advance.<br>
<br>
Kenn<br>
LBNL<br>
<br>
</p>

</div>

</div>

</div>

</div>

</div>

</div>

<p class="MsoNormal"> </p>

</div></div></div>

</div>

</div>


</blockquote></div><br>