R
rmcompute
The following query keeps crashing my system. It is created programatically
from within the application, where a user can both select individual serial
#s to filter the report on or select them from a table. Is there a way to
properly combine the "In" statement below which reads the table, with an
individual selection?
SELECT qrySAMSHByCodeExternal_Pre01.*
FROM qrySAMSHByCodeExternal_Pre01
WHERE (((qrySAMSHByCodeExternal_Pre01.SerialNum)="H7011100007" Or
(qrySAMSHByCodeExternal_Pre01.SerialNum) In (Select FieldData As SerialNum
From tblSAMImpDD Where FieldName = 'SerialNum')));
from within the application, where a user can both select individual serial
#s to filter the report on or select them from a table. Is there a way to
properly combine the "In" statement below which reads the table, with an
individual selection?
SELECT qrySAMSHByCodeExternal_Pre01.*
FROM qrySAMSHByCodeExternal_Pre01
WHERE (((qrySAMSHByCodeExternal_Pre01.SerialNum)="H7011100007" Or
(qrySAMSHByCodeExternal_Pre01.SerialNum) In (Select FieldData As SerialNum
From tblSAMImpDD Where FieldName = 'SerialNum')));