By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,495 Members | 1,146 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,495 IT Pros & Developers. It's quick & easy.

Simple Expression...Please help

P: n/a
How do I rewrite this expression in a query replacing the absolute
value, CV-SC-03-00896M, with a field name [JudgmentID]? I can't come
up with the proper syntax. The expression works as is, but when I try
to put in the variable it doesn't work.

InterestTotal: DSum("Interest","tblDebtorPayments","JudgmentID = 'CV-
SC-03-00896M'")

Thanks
John King
jk******@q.com

Aug 14 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Jking482 wrote:
How do I rewrite this expression in a query replacing the absolute
value, CV-SC-03-00896M, with a field name [JudgmentID]? I can't come
up with the proper syntax. The expression works as is, but when I try
to put in the variable it doesn't work.

InterestTotal: DSum("Interest","tblDebtorPayments","JudgmentID = 'CV-
SC-03-00896M'")

Thanks
John King
jk******@q.com
InterestTotal: DSum("Interest","tblDebtorPayments","JudgmentID = '" &
[JudgementID] & "'")
Aug 14 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.