C
CR
Hi,
I have a query which prompts the user for a date. I want to then use
the entered date twice without calling for the variable to be entered
again.
Query is
SELECT Schools.SchoolName, BackupTracking.ServerName,
SchoolServers.ServerID, BackupTracking.BackupStatus,
BackupTracking.Date
FROM Schools INNER JOIN (SchoolServers LEFT JOIN [SELECT
BackupTracking.* FROM BackupTracking
WHERE BackupTracking.Date BETWEEN [Enter Date] & " 18:00:00" AND
[Enter Date] & " 17:59:59) AS BackupTracking ON SchoolServers.ServerID
= BackupTracking.ServerID) ON Schools.SchoolID =
SchoolServers.SchoolID
ORDER BY Schools.SchoolName;
This query doesn't actually work, errors with too complex, but
hopefully you get the jist of what I'm after.
Thanks any help.
I have a query which prompts the user for a date. I want to then use
the entered date twice without calling for the variable to be entered
again.
Query is
SELECT Schools.SchoolName, BackupTracking.ServerName,
SchoolServers.ServerID, BackupTracking.BackupStatus,
BackupTracking.Date
FROM Schools INNER JOIN (SchoolServers LEFT JOIN [SELECT
BackupTracking.* FROM BackupTracking
WHERE BackupTracking.Date BETWEEN [Enter Date] & " 18:00:00" AND
[Enter Date] & " 17:59:59) AS BackupTracking ON SchoolServers.ServerID
= BackupTracking.ServerID) ON Schools.SchoolID =
SchoolServers.SchoolID
ORDER BY Schools.SchoolName;
This query doesn't actually work, errors with too complex, but
hopefully you get the jist of what I'm after.
Thanks any help.