Hi there,
Im having a problem, and to be honest im complety lost to reason for this, so here I am.
I have this four way query that has the following:
A – Hardware table were i pick up some values
B – User table were I pick up username
C – HW/User table were I match the hardware to the user that uses it
D – Another table also associated with HW were I pick up a security class value
Inside the HW table, I have a boolean field (type Yes/No), were I say if the hw is standard or not.
The problem is with a report I created for this. From a total of 117 records, i have 7 where that boolean field is empty. The problem is that it just will not show 3 of those 7 records. Even if i take that boolean field from the query, the result is the same, it will show 114 records.
The relationship is ok, there is no filter anywhere so I am lost.
Can someone help me?
Best regards
Mauro Fernandes
Im having a problem, and to be honest im complety lost to reason for this, so here I am.
I have this four way query that has the following:
A – Hardware table were i pick up some values
B – User table were I pick up username
C – HW/User table were I match the hardware to the user that uses it
D – Another table also associated with HW were I pick up a security class value
Inside the HW table, I have a boolean field (type Yes/No), were I say if the hw is standard or not.
The problem is with a report I created for this. From a total of 117 records, i have 7 where that boolean field is empty. The problem is that it just will not show 3 of those 7 records. Even if i take that boolean field from the query, the result is the same, it will show 114 records.
The relationship is ok, there is no filter anywhere so I am lost.
Code:
SELECT tb_hw.hw, tb_hw.hw_type, tb_hw.hw_modelo, tb_hw.hw_serial_number, tb_hw.hw_standard, tb_colaborador.nome, tb_hw_scs.avail
FROM (tb_hw INNER JOIN (tb_colaborador INNER JOIN tb_hw_colaborador ON tb_colaborador.id = tb_hw_colaborador.id_colaborador) ON tb_hw.id_hw = tb_hw_colaborador.id_hw) INNER JOIN tb_hw_scs ON tb_hw.id_hw = tb_hw_scs.id_hw
WHERE (((tb_hw.hw_standard)=false))
ORDER BY tb_hw.hw_type;
Best regards
Mauro Fernandes
Last edited: