dominicdunmow
Technical User
Hi there,
I have a query that queries a particular table. The fileds in the table are date related and so change depending on the records that are to be queried.
Is it possible through an IIF statement or other means only to query a field if it exists in the table.
The problem I've had is that I did include every month in the query, but then when the records in the table don't contain a particular date field, it falls over.
Can anyone help please?
I have a query that queries a particular table. The fileds in the table are date related and so change depending on the records that are to be queried.
Is it possible through an IIF statement or other means only to query a field if it exists in the table.
The problem I've had is that I did include every month in the query, but then when the records in the table don't contain a particular date field, it falls over.
Can anyone help please?