G
Guest
Folks,
I have a problem whereby I can run the following query in Access 2000 and
get results, but when users using 2002 run the same query - they get no
results in the query. I have narrowed down the problem to the data range
identifier in the query apparently not being recognised.
I have another query that works fine in both versions - it contains all the
same tables and criteria, except it doesn't have the additional outer join to
the T_SiteVisits table.
SQL is as follows:
SELECT T_Sites.[Branch Name], T_Sites.SiteBSB, T_Sites.[CommSee PoP Id],
T_Sites.PoPSiteComments, T_Sites.[No of workstations/Laptops] AS [No of Ports
Required], T_Sites.[Ports Assigned], T_Sites.EthPortsPatched AS [Ethernet
Ports Patched], T_Sites.TokenRingPortsRemoved AS [Token Ring Ports Removed],
T_IPAddressing.CommseeServName AS Server, T_IPAddressing.CommSeeSwitchPort AS
[Prim Port], T_IPAddressing.CommseeSwitchILO AS [Prim ILO],
T_SiteVisits.Visit, T_SiteVisits.Date, T_SiteVisits.Arrive,
T_SiteVisits.[Start Patch], T_SiteVisits.[Finish Patch],
T_SiteVisits.Signoff, T_SiteVisits.Comments
FROM (T_RouterID INNER JOIN T_Sites ON T_RouterID.[Router ID] =
T_Sites.[Router ID]) LEFT JOIN (T_IPAddressing LEFT JOIN T_SiteVisits ON
T_IPAddressing.[Project Point of Presence Id] = T_SiteVisits.[POP ID]) ON
T_Sites.[CommSee PoP Id] = T_IPAddressing.[Project Point of Presence Id]
WHERE (((T_SiteVisits.Visit)="3 Comm Cutover" Or (T_SiteVisits.Visit)="5
Call Back") AND ((T_Sites.CoreActivity)="c" Or (T_Sites.CoreActivity)="h" Or
(T_Sites.CoreActivity)="b" Or (T_Sites.CoreActivity)="m") AND
((T_Sites.PoPCutover) Between [forms]![F_GeneralReporting].[txtStart] And
[forms]![F_GeneralReporting].[txtend]))
ORDER BY T_Sites.[Branch Name];
Your help would be appreciated.
Paul
I have a problem whereby I can run the following query in Access 2000 and
get results, but when users using 2002 run the same query - they get no
results in the query. I have narrowed down the problem to the data range
identifier in the query apparently not being recognised.
I have another query that works fine in both versions - it contains all the
same tables and criteria, except it doesn't have the additional outer join to
the T_SiteVisits table.
SQL is as follows:
SELECT T_Sites.[Branch Name], T_Sites.SiteBSB, T_Sites.[CommSee PoP Id],
T_Sites.PoPSiteComments, T_Sites.[No of workstations/Laptops] AS [No of Ports
Required], T_Sites.[Ports Assigned], T_Sites.EthPortsPatched AS [Ethernet
Ports Patched], T_Sites.TokenRingPortsRemoved AS [Token Ring Ports Removed],
T_IPAddressing.CommseeServName AS Server, T_IPAddressing.CommSeeSwitchPort AS
[Prim Port], T_IPAddressing.CommseeSwitchILO AS [Prim ILO],
T_SiteVisits.Visit, T_SiteVisits.Date, T_SiteVisits.Arrive,
T_SiteVisits.[Start Patch], T_SiteVisits.[Finish Patch],
T_SiteVisits.Signoff, T_SiteVisits.Comments
FROM (T_RouterID INNER JOIN T_Sites ON T_RouterID.[Router ID] =
T_Sites.[Router ID]) LEFT JOIN (T_IPAddressing LEFT JOIN T_SiteVisits ON
T_IPAddressing.[Project Point of Presence Id] = T_SiteVisits.[POP ID]) ON
T_Sites.[CommSee PoP Id] = T_IPAddressing.[Project Point of Presence Id]
WHERE (((T_SiteVisits.Visit)="3 Comm Cutover" Or (T_SiteVisits.Visit)="5
Call Back") AND ((T_Sites.CoreActivity)="c" Or (T_Sites.CoreActivity)="h" Or
(T_Sites.CoreActivity)="b" Or (T_Sites.CoreActivity)="m") AND
((T_Sites.PoPCutover) Between [forms]![F_GeneralReporting].[txtStart] And
[forms]![F_GeneralReporting].[txtend]))
ORDER BY T_Sites.[Branch Name];
Your help would be appreciated.
Paul