Salve a tutti!
Ho 2 tabelle, relazione 1 --> N (tabella1-->tabella2).
Nella TABELLA_1 ho CAMPO_A (0,1,2).
Nella TABELLA_2 ho CAMPO_B (0 o 1).
Devo far si che
--> Se CAMPO_A=0: relazione normale 1-N con TABELLA_1
--> Se CAMPO_A=1 o CAMPO_A=2 : Relazione 1-N con TABELLA_2 ma SENZA i CAMPO_B che siano 1.
Come posso fare?