Subject | Re: [IBO] Just one quick question about IB_SearchEdit |
---|---|
Author | Erik Mlakar |
Post date | 2006-08-29T08:53:29Z |
>Just one quick question about IB_SearchEdit.When the set goes into dssSearch state, the
>
>My example it's very close that you have in example »Searching Links«
>
>My problem is next: first two fields I manage correctly. The third
>field wicht it's nothing special. It' s very close to my second field.
>This statement is (»in prepare statment« )
>
>3:
>SQLWhereItems. Add( 'UPPER(ADDRESS) STARTING WITH :ADDRESS ' );
>
>I also set OrderingItems on the three fields and orderingLinks and
>SearchingLinks.
>
>The problem is next: when I click on the address column the whole Grid
>is empty ( it shouldn't be empty it should be all values that are in
>the table), when I insert first value into IB_SearchEdit it's working
>correctly.
>
>Why is the grid emtpy when I clicked on the column »Address«
contents of the set become unknown. Once the
search *finds* records that match the search key,
you will have a new set in the dataset buffer and
the controls will begin displaying them. When
the search completes, the set's state changes to
dssBrowse and you will be able to navigate it.
>or II don't know where a ComboBox fits into this picture...could you explain?
>change value in ComboBox it should be working it is like in a example?
When I change ComboBox Items it's like I clicked on the column, just like in a example.
After I cliked on column 'Address' the dateset is in a dssBrowse state. What is the diference between my second and this field (in example works very good). The declaration it's very close. How can I get all the values from a table, after I clicked on the column Address.
[Non-text portions of this message have been removed]