Subject | Re: [IBO] How would I go about making a grid show this classification |
---|---|
Author | Lester Caine |
Post date | 2005-05-23T05:05:25Z |
Antti Kurenniemi wrote:
The detail query is :-
SELECT T.classification_title FROM classification T
JOIN classification_link L ON T.classification_id = L.classification_id
WHERE L.customer_id = :CU_ID
Link :CU_ID to the master record
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> I don't know the proper term for this, but I think it's quite common thingSounds more like an SQL problem than IBO?
> to do: I have a customer table, and a classification table. Each customer
> can have n different classifications, so there is an intermediate table
> linking customer_id to classification_id.
>
> Now, I want to show the classifications on a window with the customer data
> (a grid or a list). I was able to do the master-detail stuff with the
> samples, as well as lookups, but this one I couldn't figure out myself.
> Could someone point me to some document explaining how to do this, or better
> yet, is there a sample available? If my explanation wasn't clear, let me
> know and I'll try to make more sense ;-)
The detail query is :-
SELECT T.classification_title FROM classification T
JOIN classification_link L ON T.classification_id = L.classification_id
WHERE L.customer_id = :CU_ID
Link :CU_ID to the master record
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services