How to set Master-child relationship on multiple fields

FastReport for Xailer & [x]Harbour (English/Spanish)
Responder
Milan Mehta
Mensajes: 134
Registrado: Dom Dic 27, 2009 9:54 am

How to set Master-child relationship on multiple fields

Mensaje por Milan Mehta »

Please help me with an example of how to set Master-Child Relationship on Multiple Fields using :SetMaster().
Avatar de Usuario
bingen
Mensajes: 565
Registrado: Lun Jul 07, 2014 8:17 pm
Ubicación: Bilbao
Contactar:

Re: How to set Master-child relationship on multiple fields

Mensaje por bingen »

For DBF Files?

oFr:SetMasterDetail ("Clients", "Orders",{||Clients->Code})
BiSoft Desarrollo de software profesional
http://www.bisoft.es
Milan Mehta
Mensajes: 134
Registrado: Dom Dic 27, 2009 9:54 am

Re: How to set Master-child relationship on multiple fields

Mensaje por Milan Mehta »

No we use Sqlite. Can you guide ?

TIA
Milan.
Avatar de Usuario
bingen
Mensajes: 565
Registrado: Lun Jul 07, 2014 8:17 pm
Ubicación: Bilbao
Contactar:

Re: How to set Master-child relationship on multiple fields

Mensaje por bingen »

Sorry I use Mysql/MariaDb no SqLIte, but yo can make a bigger select wit joins in order to have one unique dataset with a mix of fields of first (with repeated values) and second tables and use into FR one dataset only with all the fields you need.
BiSoft Desarrollo de software profesional
http://www.bisoft.es
Responder