Ryu
2005-02-21 16:28:52 UTC
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
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