Constructing Fetch Syntax
Constructing Fetch Syntax
- Subject: Constructing Fetch Syntax
- From: Jeremy Matthews <email@hidden>
- Date: Mon, 11 Oct 2004 10:58:51 -0400
If I want to create a link to fetch all records where an attribute's first character is specified, how is the syntax structured?
For example, letters of the alphabet along the top of a search page (quick search by first letter of last name); clicking on the link will return the specific records. Would the fetch be constructed like this:
(lastName caseInsensitiveLike A%)
?
It should be noted that I still have other search methods on the page. Currently, the only other one setup is a full last and/or first name search by fields, and I want both to be able to work independently of the other.
((firstName like $firstName) and (lastName like $lastName))
Ideas?
Thanks,
Jeremy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden