Página 1 de 1
two tables in one browse
Publicado: Mié Mar 29, 2006 11:13 am
por Aguiar Costa
Hello !!!
If i have a browse with a table that have for example, a client code, and i
want to show in the same browse the client name that is in the client table,
how do i do that using whatever browse with or without Datasets?
2 tables in 1 browse.
TIA.
Regards
Aguiar !!!
two tables in one browse
Publicado: Mié Mar 29, 2006 12:07 pm
por ignacio
Aguiar,
1) Make the table with only the client code the main table for the browse:
oDbfBrowse:SetDbf( "Table")
2) Make a relation between the two tables
3) Add a new column to the browse, indicating the following properties:
oCol:cHeader := "Client Name"
oCol:OnGetData := {|oSender, Value, nImage| Value := Client->Name }
Regards,
"Aguiar Costa" <
Aguiar.Costa@Sisbit.pt> escribió en el mensaje
news:[email=
442a4ef7@ozsrvnegro.ozlan.local...]
442a4ef7@ozsrvnegro.ozlan.local...[/email]
> Hello !!!
>
> If i have a browse with a table that have for example, a client code, and
> i want to show in the same browse the client name that is in the client
> table, how do i do that using whatever browse with or without Datasets?
> 2 tables in 1 browse.
> TIA.
> Regards
> Aguiar !!!
>
two tables in one browse
Publicado: Mié Mar 29, 2006 12:36 pm
por Aguiar Costa
Ignacio,
Thank you.
Regards
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <
NoName@xailer.com> escreveu na mensagem
news:442a5c58$[email=
1@ozsrvnegro.ozlan.local...]
1@ozsrvnegro.ozlan.local...[/email]
> Aguiar,
>
> 1) Make the table with only the client code the main table for the browse:
>
> oDbfBrowse:SetDbf( "Table")
>
> 2) Make a relation between the two tables
>
> 3) Add a new column to the browse, indicating the following properties:
>
> oCol:cHeader := "Client Name"
> oCol:OnGetData := {|oSender, Value, nImage| Value := Client->Name }
>
> Regards,
>
> "Aguiar Costa" <
Aguiar.Costa@Sisbit.pt> escribió en el mensaje
> news:[email=
442a4ef7@ozsrvnegro.ozlan.local...]
442a4ef7@ozsrvnegro.ozlan.local...[/email]
>> Hello !!!
>>
>> If i have a browse with a table that have for example, a client code, and
>> i want to show in the same browse the client name that is in the client
>> table, how do i do that using whatever browse with or without Datasets?
>> 2 tables in 1 browse.
>> TIA.
>> Regards
>> Aguiar !!!
>>
>
>