Subject | several lookups |
---|---|
Author | Gediminas |
Post date | 2003-07-02T13:02:53Z |
I have database, which has such atributes as "Name", "Surname", "City",
"Country" & so on.
What I want to do, is to filter records, which exactly matches lookup.
For example, I have placed NameLookupBox, SurnameLookupBox & CityLookupBox.
I want in IB_Grid get records with entered name in NameLookupBox, if I also
enter surname in SurnameLookupBox, then I want records which match entered
name & surname. If I enter City, then records matching all three criterias
must be shown.
Note: i could enter first surname & then only name or city/surname/name...
Is it possible with ComboLookupBox? choose combo if there is no such
entries, I could enter them into a DB.
--/ Gediminas /--
The Truth Is Out There
"Country" & so on.
What I want to do, is to filter records, which exactly matches lookup.
For example, I have placed NameLookupBox, SurnameLookupBox & CityLookupBox.
I want in IB_Grid get records with entered name in NameLookupBox, if I also
enter surname in SurnameLookupBox, then I want records which match entered
name & surname. If I enter City, then records matching all three criterias
must be shown.
Note: i could enter first surname & then only name or city/surname/name...
Is it possible with ComboLookupBox? choose combo if there is no such
entries, I could enter them into a DB.
--/ Gediminas /--
The Truth Is Out There