Re: Binding query variables (EOF Fetch Spec Qualifier) under IB
Ricardo Strausz <[email protected]> Mon, 28 Feb 2005 11:11:13 -0600
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
Hola Ryu! can you be more specific... which platform are you using? You mentioned Interface Builder; are you trying Java Client? or Cocoa/EOF? Dino On Feb 21, 2005, at 10:28 AM, Ryu wrote: > > > > Hi there, > > I want to write a front end to a DB, that has a search form, WITHOUT > writing > code. I already successfully wrote a front end that can browse all > elements, > and add/remove/modify an entry with writing code. > > To avoid loading all the table that has 2 millions entries (hence not > "in > memory" filtering with EOPickTextAssociation), I have to make a > specific SQL > query. > > Under EOBuilder, I have added a Fetch Spec to my table Entity > In this Fetch Spec, I have added the Qualifier "(name = $myName)" > > But once under Interface Builder, I just can't find how to bind user > interface (NSField, NSForm) to my Query Variable (nyName). > There is no @queryBindings->myName (or @bindings->myName) in the > inspector > (Inspector/Connections/EOTextAssociation) when binding to the > EODisplayGroup > that has my FetchSpec (like they talk about in the docs) > > Though, I have @query= (which seems to be the WOBuilder's > @queryMatch). I > was able to make a "simple search form", by binding my NSField to > @QueryMatch->name. But the request which is made is case insensitive, > and > not exact match, and I want to be able to execute complex sql request > as > made in EOBuilder Fetch Spec. > > Does anyone know where are the "Query Variables"/@queryBidings in the > Interface Builder, how to bind them to interface elements, so that I > can > execute a request without writing code ? > > Regards, > Ryu > > > _______________________________________________ > EOF mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/eof