Hi,
I know that I wrote about this scenario before, but now it´s a different problem.
I have 3 tables "Client", "Address" and "Name". One "Client" can have more than one "Address" and one "Address" can have the same "Name" of another or a different one. In my main View I have the 3 tables related. When I include a "Main Address" I have to insert a record in the 3 tables, but when I insert "Another Address" of the same "Client" and with the same "Name" I only have to insert a new record in the "Address" table. My first thought was to change the "Tables" property of the View (DBSETPROP("v_Client","View","Tables","SPI!Address_Table"), but it´s not working.
I have 2 buttons to insert a record in the View. One to the "Main Address" and other for "Another Address" and I´m changing that property in the button´s Click() method. Is it the better place ? What Am I doing wrong ?
Regards,