C
Chuck W
Not sure if I should post this in this board or an SQL Server one. I have an
access database with a query called qrySelectAccNum with three fields:
AccNum, FullName, and DischargDate. In my criteria for DischargeDate I have
'between Date() and Date()-60 to get all discharges in the last 60 days. The
query worked fine. It used to be based on an Access table called tblPatients.
I deleted this table and created a link to a new SQL Server table called
Encounters. In my query, I changed the table name from tblPatients to
Encounters but my date restrictor no longer works. If I remove the date
restrictor, the query does return results but I want to restrict to the last
60 days. Does anyone know what the new date restrictor should be?
Thanks,
access database with a query called qrySelectAccNum with three fields:
AccNum, FullName, and DischargDate. In my criteria for DischargeDate I have
'between Date() and Date()-60 to get all discharges in the last 60 days. The
query worked fine. It used to be based on an Access table called tblPatients.
I deleted this table and created a link to a new SQL Server table called
Encounters. In my query, I changed the table name from tblPatients to
Encounters but my date restrictor no longer works. If I remove the date
restrictor, the query does return results but I want to restrict to the last
60 days. Does anyone know what the new date restrictor should be?
Thanks,