Hello,
I have a query that runs great when I explicitly state a
value in the criteria area in the query grid.
However, when I try to run it through a dialog box using <
[enter value] in the query grid and I get no
results...even when I use the exact value I explicitly
stated.
The sql statements are included below.
Any tips or extra details are greatly appreciated by this
newbie.
Have a great day,
christi
This works:
SELECT Clients.[Social_ Security], tblPeriodInter.Period,
tblPeriodInter.StrtDt, tblProjected_Resources.PRDesc,
tblPR_Amount.PRAmt, Clients.[Last Name], Clients.[First
Name]
FROM tblProjected_Resources INNER JOIN (Clients INNER JOIN
(tblPR_Amount INNER JOIN tblPeriodInter ON
(tblPR_Amount.Period = tblPeriodInter.Period) AND
(tblPR_Amount.Social_Security =
tblPeriodInter.Social_Security)) ON Clients.[Social_
Security] = tblPeriodInter.Social_Security) ON
tblProjected_Resources.PRID = tblPR_Amount.PRID
WHERE (((Clients.[Social_ Security])="111-00-2222"));
This produces no results:
SELECT Clients.[Social_ Security], tblPeriodInter.Period,
tblPeriodInter.StrtDt, tblProjected_Resources.PRDesc,
tblPR_Amount.PRAmt, Clients.[Last Name], Clients.[First
Name]
FROM tblProjected_Resources INNER JOIN (Clients INNER JOIN
(tblPR_Amount INNER JOIN tblPeriodInter ON
(tblPR_Amount.Period = tblPeriodInter.Period) AND
(tblPR_Amount.Social_Security =
tblPeriodInter.Social_Security)) ON Clients.[Social_
Security] = tblPeriodInter.Social_Security) ON
tblProjected_Resources.PRID = tblPR_Amount.PRID
WHERE (((Clients.[Social_ Security])<[enter social
security number]));
I have a query that runs great when I explicitly state a
value in the criteria area in the query grid.
However, when I try to run it through a dialog box using <
[enter value] in the query grid and I get no
results...even when I use the exact value I explicitly
stated.
The sql statements are included below.
Any tips or extra details are greatly appreciated by this
newbie.
Have a great day,
christi
This works:
SELECT Clients.[Social_ Security], tblPeriodInter.Period,
tblPeriodInter.StrtDt, tblProjected_Resources.PRDesc,
tblPR_Amount.PRAmt, Clients.[Last Name], Clients.[First
Name]
FROM tblProjected_Resources INNER JOIN (Clients INNER JOIN
(tblPR_Amount INNER JOIN tblPeriodInter ON
(tblPR_Amount.Period = tblPeriodInter.Period) AND
(tblPR_Amount.Social_Security =
tblPeriodInter.Social_Security)) ON Clients.[Social_
Security] = tblPeriodInter.Social_Security) ON
tblProjected_Resources.PRID = tblPR_Amount.PRID
WHERE (((Clients.[Social_ Security])="111-00-2222"));
This produces no results:
SELECT Clients.[Social_ Security], tblPeriodInter.Period,
tblPeriodInter.StrtDt, tblProjected_Resources.PRDesc,
tblPR_Amount.PRAmt, Clients.[Last Name], Clients.[First
Name]
FROM tblProjected_Resources INNER JOIN (Clients INNER JOIN
(tblPR_Amount INNER JOIN tblPeriodInter ON
(tblPR_Amount.Period = tblPeriodInter.Period) AND
(tblPR_Amount.Social_Security =
tblPeriodInter.Social_Security)) ON Clients.[Social_
Security] = tblPeriodInter.Social_Security) ON
tblProjected_Resources.PRID = tblPR_Amount.PRID
WHERE (((Clients.[Social_ Security])<[enter social
security number]));