troubleshooting Question

Microsoft Access 2010 Database

Avatar of JamieBennett
JamieBennettFlag for United States of America asked on
Microsoft Access
5 Comments2 Solutions642 ViewsLast Modified:
I am finally moving some of my last databases that are huge from Access 97 to Access 2010. Which have worked wonderful all of these years, but it is time to move forward. I have a form that has 6 fields that use the dlookup function in Access 97.

One of the fields looks like this:

=IIf(DateDiff("d",[DateIssued],Now())>14,DLookUp("[Fine3]","qryViolationCodes","[ViolDesc]=[Forms]![frmTicketsTest2]![cViolationDesc]"),0)

I am not understanding on how to write it to work in Access 2010. Can someone tell me how to write this in Access 2010

I might add that I am getting an invalid control error.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros