Subject | Re: [IBO] cascade relations |
---|---|
Author | Paul Vinkenoog |
Post date | 2003-08-23T22:51:29Z |
Hi Gediminas,
which dances.
looking up values in another dataset - the Lookup set - so the user
can select from them and assign that value to a field in the current
record of the "main" set - the KeySource set, in IBO terms.
Is this what you want - so the user can choose a dance to assign to a
class? Then you need a KeySource-Lookup relation. We can explain more
about this if this is really what you want and you don't get it to
work.
I want a list showing the dances that the currently selected class
has.
If this is what you want, that's Master-Detail. The list you talk
about would usually be an IB_Grid.
Please tell what you would like to show on screen, and what you would
like your users to be able to do. Maybe you want both a lookup
possibility and a master-detail?
Greetings,
Paul Vinkenoog
(signing off for today)
> Have 2 tables:OK, table setup is clear. In Class_Dances you find which classes have
> Dances Classes
> Dance_ID Class_ID
> etc etc
> they are linked through the third table
> Class_Dances
> Class_ID
> Dance_ID
which dances.
> Now, I have a lookuplist, which points to Classes ( select * fromThis is less clear to me. Usually when we talk about lookups, we mean:
> Classes)
looking up values in another dataset - the Lookup set - so the user
can select from them and assign that value to a field in the current
record of the "main" set - the KeySource set, in IBO terms.
Is this what you want - so the user can choose a dance to assign to a
class? Then you need a KeySource-Lookup relation. We can explain more
about this if this is really what you want and you don't get it to
work.
> In listbox I want to have a list of dances, which are in selectedThis sounds more like:
> class
I want a list showing the dances that the currently selected class
has.
If this is what you want, that's Master-Detail. The list you talk
about would usually be an IB_Grid.
Please tell what you would like to show on screen, and what you would
like your users to be able to do. Maybe you want both a lookup
possibility and a master-detail?
Greetings,
Paul Vinkenoog
(signing off for today)