We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Using Set_item_property default_where

timjshields asked
Medium Priority
Last Modified: 2013-12-11
I am trying to set the where property on a Block query using the
When the  user enters  a letter I wan to show a list of names beginning with that letter. I know the syntax should be for example (last_name like  'M%').

WHen the user enters the letter all the user  gets is last_name the match the letter.
Please tell how to set the snytax for the set_item_property  default_where clause.

my current syntax is
set_item_property(Block_id,default_where, 'Last_name like :Block.last_name');
where :Block.last_name being the field where the user enters the letter.

Watch Question

I'm not sure if this works or not, but can you use...
set_item_property(Block_id,default_where, 'Last_name like :Block.last_name || ''%'' ');
(note, it is two single quotes in a row '', not a double quote "

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


It worked perfectly. Thanks alot. Points to you
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.