L
Linda \(RQ\)
Hi Everyone,
I have an unbound control on a form in Access 2003. The one DLookUp
expression from a query below works. I added an expression on the same
query and was hoping it would work the same way but I don't know what to do
with the brackets, quotations or commas.
SELECT qryCountOfProtocolTreatments.CountOfPtThpyID,
qryCountOfAllTreatments.CountOfPtThpyID,
[qryCountOfProtocolTreatments.CountOfPtThpyID]/[qryCountOfAllTreatments.CountOfPtThpyID]
AS ProtocolTreatmentPercent
FROM qryCountOfProtocolTreatments, qryCountOfAllTreatments;
=DLookUp("CountOfPtThpyID","qryCountOfAllTreatments")
The above works perfectly.
=DLookUp("ProtocolTreatmentPercent:
[qryCountOfProtocolTreatments.CountOfPtThpyID]/[qryCountOfAllTreatments.CountOfPtThpyID]")
The above and an additional 20 or so variations does not work...I need help
on this.
Thanks,
Linda
I have an unbound control on a form in Access 2003. The one DLookUp
expression from a query below works. I added an expression on the same
query and was hoping it would work the same way but I don't know what to do
with the brackets, quotations or commas.
SELECT qryCountOfProtocolTreatments.CountOfPtThpyID,
qryCountOfAllTreatments.CountOfPtThpyID,
[qryCountOfProtocolTreatments.CountOfPtThpyID]/[qryCountOfAllTreatments.CountOfPtThpyID]
AS ProtocolTreatmentPercent
FROM qryCountOfProtocolTreatments, qryCountOfAllTreatments;
=DLookUp("CountOfPtThpyID","qryCountOfAllTreatments")
The above works perfectly.
=DLookUp("ProtocolTreatmentPercent:
[qryCountOfProtocolTreatments.CountOfPtThpyID]/[qryCountOfAllTreatments.CountOfPtThpyID]")
The above and an additional 20 or so variations does not work...I need help
on this.
Thanks,
Linda